home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Amigaguide Document
(document/amigaGuide).
You can browse this item here: ARx_Func.ag
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Amigaguide Document (document/amigaGuide)
| magic
| Supported |
1%
| dexvert
| Applixware Graphic (image/applixwareGraphic)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| AmigaGuide file, ISO-8859 text
| default
| |
100%
| TrID
| Amigaguide hypertext document (var.2)
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| x-fmt/111 Plain Text File
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 40 44 41 54 41 42 41 53 | 45 20 22 41 52 78 5f 46 |@DATABAS|E "ARx_F|
|00000010| 75 6e 63 2e 61 67 22 0a | 40 56 45 52 20 31 2e 30 |unc.ag".|@VER 1.0|
|00000020| 61 0a 40 49 4e 44 45 58 | 20 41 52 78 5f 49 6e 64 |a.@INDEX| ARx_Ind|
|00000030| 65 78 2f 4d 41 49 4e 0a | 40 4e 4f 44 45 20 4d 41 |ex/MAIN.|@NODE MA|
|00000040| 49 4e 20 22 41 52 65 78 | 78 47 75 69 64 65 20 7c |IN "ARex|xGuide ||
|00000050| 20 46 75 6e 63 74 69 6f | 6e 73 20 52 65 66 65 72 | Functio|ns Refer|
|00000060| 65 6e 63 65 20 7c 22 0a | 40 54 4f 43 20 41 52 65 |ence |".|@TOC ARe|
|00000070| 78 78 47 75 69 64 65 2e | 67 75 69 64 65 2f 4d 41 |xxGuide.|guide/MA|
|00000080| 49 4e 0a 40 50 52 45 56 | 20 41 52 78 5f 49 6e 73 |IN.@PREV| ARx_Ins|
|00000090| 74 72 2e 61 67 2f 4d 41 | 49 4e 0a 40 4e 45 58 54 |tr.ag/MA|IN.@NEXT|
|000000a0| 20 41 52 78 5f 4f 70 65 | 72 61 74 6f 72 2e 61 67 | ARx_Ope|rator.ag|
|000000b0| 2f 4d 41 49 4e 0a 20 20 | 20 40 7b 46 47 20 48 49 |/MAIN. | @{FG HI|
|000000c0| 47 48 4c 49 47 48 54 7d | 41 4e 20 41 4d 49 47 41 |GHLIGHT}|AN AMIGA|
|000000d0| 47 55 49 44 45 ae 20 54 | 4f 20 41 52 65 78 78 40 |GUIDE. T|O ARexx@|
|000000e0| 7b 46 47 20 54 45 58 54 | 7d 20 20 20 20 20 20 20 |{FG TEXT|} |
|000000f0| 20 20 20 20 20 20 20 20 | 20 20 45 64 69 74 69 6f | | Editio|
|00000100| 6e 3a 20 31 2e 30 61 0a | 20 20 20 62 79 20 52 6f |n: 1.0a.| by Ro|
|00000110| 62 69 6e 20 45 76 61 6e | 73 0a 0a 20 20 20 40 7b |bin Evan|s.. @{|
|00000120| 22 20 41 62 6f 75 74 20 | 74 68 69 73 20 73 65 63 |" About |this sec|
|00000130| 74 69 6f 6e 20 20 20 20 | 20 20 20 20 20 22 20 6c |tion | " l|
|00000140| 69 6e 6b 20 41 42 4f 55 | 54 7d 0a 0a 20 20 20 41 |ink ABOU|T}.. A|
|00000150| 52 65 78 78 20 66 75 6e | 63 74 69 6f 6e 73 3a 0a |Rexx fun|ctions:.|
|00000160| 20 20 20 20 20 20 20 20 | 20 40 7b 22 20 43 6f 6d | | @{" Com|
|00000170| 70 61 72 69 73 6f 6e 20 | 66 75 6e 63 74 69 6f 6e |parison |function|
|00000180| 73 20 22 20 6c 69 6e 6b | 20 43 4d 50 52 4c 49 53 |s " link| CMPRLIS|
|00000190| 54 7d 20 46 49 4e 44 28 | 29 2c 20 50 4f 53 28 29 |T} FIND(|), POS()|
|000001a0| 2c 20 41 42 42 52 45 56 | 28 29 2c 20 65 74 63 2e |, ABBREV|(), etc.|
|000001b0| 0a 20 20 20 20 20 20 20 | 20 20 40 7b 22 20 53 74 |. | @{" St|
|000001c0| 72 69 6e 67 20 6d 61 6e | 69 70 75 6c 61 74 69 6f |ring man|ipulatio|
|000001d0| 6e 20 20 22 20 6c 69 6e | 6b 20 53 54 52 4c 49 53 |n " lin|k STRLIS|
|000001e0| 54 7d 20 4c 45 46 54 28 | 29 2c 20 53 55 42 53 54 |T} LEFT(|), SUBST|
|000001f0| 52 28 29 2c 20 65 74 63 | 2e 0a 20 20 20 20 20 20 |R(), etc|.. |
|00000200| 20 20 20 40 7b 22 20 57 | 6f 72 64 20 6d 61 6e 69 | @{" W|ord mani|
|00000210| 70 75 6c 61 74 69 6f 6e | 20 20 20 20 22 20 6c 69 |pulation| " li|
|00000220| 6e 6b 20 41 52 78 5f 46 | 75 6e 63 32 2e 61 67 2f |nk ARx_F|unc2.ag/|
|00000230| 57 4f 52 44 4c 49 53 54 | 7d 20 57 4f 52 44 28 29 |WORDLIST|} WORD()|
|00000240| 2c 20 44 45 4c 57 4f 52 | 44 28 29 2c 20 65 74 63 |, DELWOR|D(), etc|
|00000250| 2e 0a 20 20 20 20 20 20 | 20 20 20 40 7b 22 20 43 |.. | @{" C|
|00000260| 68 61 72 2f 4e 75 6d 20 | 74 72 61 6e 73 6c 61 74 |har/Num |translat|
|00000270| 69 6f 6e 20 22 20 6c 69 | 6e 6b 20 41 52 78 5f 46 |ion " li|nk ARx_F|
|00000280| 75 6e 63 32 2e 61 67 2f | 54 52 41 4e 4c 49 53 54 |unc2.ag/|TRANLIST|
|00000290| 7d 20 43 32 44 28 29 2c | 20 58 32 43 28 29 2c 20 |} C2D(),| X2C(), |
|000002a0| 44 32 58 28 29 20 65 74 | 63 2e 0a 20 20 20 20 20 |D2X() et|c.. |
|000002b0| 20 20 20 20 40 7b 22 20 | 4e 75 6d 62 65 72 20 6d | @{" |Number m|
|000002c0| 61 6e 69 70 75 6c 61 74 | 69 6f 6e 20 20 22 20 6c |anipulat|ion " l|
|000002d0| 69 6e 6b 20 41 52 78 5f | 46 75 6e 63 32 2e 61 67 |ink ARx_|Func2.ag|
|000002e0| 2f 4e 55 4d 4c 49 53 54 | 7d 20 52 41 4e 44 4f 4d |/NUMLIST|} RANDOM|
|000002f0| 28 29 2c 20 4d 41 58 28 | 29 2c 20 65 74 63 2e 0a |(), MAX(|), etc..|
|00000300| 20 20 20 20 20 20 20 20 | 20 40 7b 22 20 49 6e 66 | | @{" Inf|
|00000310| 6f 72 6d 61 74 69 6f 6e | 61 6c 20 20 20 20 20 20 |ormation|al |
|00000320| 20 20 22 20 6c 69 6e 6b | 20 41 52 78 5f 46 75 6e | " link| ARx_Fun|
|00000330| 63 32 2e 61 67 2f 49 4e | 46 4f 4c 49 53 54 7d 20 |c2.ag/IN|FOLIST} |
|00000340| 44 41 54 45 28 29 2c 20 | 53 48 4f 57 28 29 2c 20 |DATE(), |SHOW(), |
|00000350| 65 74 63 2e 0a 20 20 20 | 20 20 20 20 20 20 40 7b |etc.. | @{|
|00000360| 22 20 46 69 6c 65 20 69 | 6e 70 75 74 2f 6f 75 74 |" File i|nput/out|
|00000370| 70 75 74 20 20 20 20 22 | 20 6c 69 6e 6b 20 41 52 |put "| link AR|
|00000380| 78 5f 46 75 6e 63 33 2e | 61 67 2f 46 49 4c 45 49 |x_Func3.|ag/FILEI|
|00000390| 4f 4c 49 53 54 7d 20 4f | 50 45 4e 28 29 2c 20 52 |OLIST} O|PEN(), R|
|000003a0| 45 41 44 4c 4e 28 29 2c | 20 53 45 45 4b 28 29 2c |EADLN(),| SEEK(),|
|000003b0| 20 65 74 63 2e 0a 20 20 | 20 20 20 20 20 20 20 40 | etc.. | @|
|000003c0| 7b 22 20 46 69 6c 65 20 | 6d 61 6e 61 67 65 6d 65 |{" File |manageme|
|000003d0| 6e 74 20 20 20 20 20 20 | 22 20 6c 69 6e 6b 20 41 |nt |" link A|
|000003e0| 52 78 5f 46 75 6e 63 33 | 2e 61 67 2f 46 49 4c 45 |Rx_Func3|.ag/FILE|
|000003f0| 4d 47 54 4c 49 53 54 7d | 20 44 45 4c 45 54 45 28 |MGTLIST}| DELETE(|
|00000400| 29 2c 20 45 58 49 53 54 | 53 28 29 2c 20 52 45 4e |), EXIST|S(), REN|
|00000410| 41 4d 45 28 29 2c 20 65 | 74 63 2e 0a 20 20 20 20 |AME(), e|tc.. |
|00000420| 20 20 20 20 20 40 7b 22 | 20 41 52 65 78 78 20 63 | @{"| ARexx c|
|00000430| 6f 6e 74 72 6f 6c 20 20 | 20 20 20 20 20 20 22 20 |ontrol | " |
|00000440| 6c 69 6e 6b 20 41 52 78 | 5f 46 75 6e 63 33 2e 61 |link ARx|_Func3.a|
|00000450| 67 2f 41 52 58 4c 49 53 | 54 7d 20 41 44 44 4c 49 |g/ARXLIS|T} ADDLI|
|00000460| 42 28 29 2c 20 50 52 41 | 47 4d 41 28 29 2c 20 65 |B(), PRA|GMA(), e|
|00000470| 74 63 2e 0a 20 20 20 20 | 20 20 20 20 20 40 7b 22 |tc.. | @{"|
|00000480| 20 4d 65 73 73 61 67 65 | 20 70 6f 72 74 73 20 20 | Message| ports |
|00000490| 20 20 20 20 20 20 22 20 | 6c 69 6e 6b 20 41 52 78 | " |link ARx|
|000004a0| 5f 46 75 6e 63 34 2e 61 | 67 2f 50 4f 52 54 4c 49 |_Func4.a|g/PORTLI|
|000004b0| 53 54 7d 20 4f 50 45 4e | 50 4f 52 54 28 29 2c 20 |ST} OPEN|PORT(), |
|000004c0| 57 41 49 54 50 4b 54 28 | 29 2c 20 47 45 54 41 52 |WAITPKT(|), GETAR|
|000004d0| 47 28 29 2c 20 65 74 63 | 2e 0a 20 20 20 20 20 20 |G(), etc|.. |
|000004e0| 20 20 20 40 7b 22 20 4d | 65 6d 6f 72 79 20 6d 61 | @{" M|emory ma|
|000004f0| 6e 61 67 65 6d 65 6e 74 | 20 20 20 20 22 20 6c 69 |nagement| " li|
|00000500| 6e 6b 20 41 52 78 5f 46 | 75 6e 63 34 2e 61 67 2f |nk ARx_F|unc4.ag/|
|00000510| 4d 45 4d 4c 49 53 54 7d | 20 49 4d 50 4f 52 54 28 |MEMLIST}| IMPORT(|
|00000520| 29 2c 20 4e 45 58 54 28 | 29 2c 20 4e 55 4c 4c 28 |), NEXT(|), NULL(|
|00000530| 29 2c 20 65 74 63 2e 0a | 20 20 20 20 20 20 20 20 |), etc..| |
|00000540| 20 40 7b 22 20 42 69 74 | 2d 77 69 73 65 20 6f 70 | @{" Bit|-wise op|
|00000550| 65 72 61 74 69 6f 6e 73 | 20 20 22 20 6c 69 6e 6b |erations| " link|
|00000560| 20 41 52 78 5f 46 75 6e | 63 34 2e 61 67 2f 42 49 | ARx_Fun|c4.ag/BI|
|00000570| 54 4c 49 53 54 7d 20 42 | 49 54 41 4e 44 28 29 2c |TLIST} B|ITAND(),|
|00000580| 20 42 49 54 43 4d 50 28 | 29 2c 20 65 74 63 2e 0a | BITCMP(|), etc..|
|00000590| 0a 20 20 20 40 7b 22 20 | 41 6c 6c 20 66 75 6e 63 |. @{" |All func|
|000005a0| 74 69 6f 6e 73 20 20 5b | 49 4e 44 45 58 20 5d 20 |tions [|INDEX ] |
|000005b0| 20 20 20 22 20 6c 69 6e | 6b 20 46 55 4e 43 4c 49 | " lin|k FUNCLI|
|000005c0| 53 54 7d 0a 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ST}.. | |
|000005d0| 20 43 6f 70 79 72 69 67 | 68 74 20 a9 20 31 39 39 | Copyrig|ht . 199|
|000005e0| 33 2c 20 52 6f 62 69 6e | 20 45 76 61 6e 73 2e 20 |3, Robin| Evans. |
|000005f0| 20 41 6c 6c 20 72 69 67 | 68 74 73 20 72 65 73 65 | All rig|hts rese|
|00000600| 72 76 65 64 2e 0a 0a 20 | 20 20 20 54 68 69 73 20 |rved... | This |
|00000610| 67 75 69 64 65 20 69 73 | 20 40 7b 22 20 73 68 61 |guide is| @{" sha|
|00000620| 72 65 77 61 72 65 20 22 | 20 6c 69 6e 6b 20 41 72 |reware "| link Ar|
|00000630| 65 78 78 47 75 69 64 65 | 2e 67 75 69 64 65 2f 52 |exxGuide|.guide/R|
|00000640| 45 47 7d 2e 20 49 66 20 | 79 6f 75 20 66 69 6e 64 |EG}. If |you find|
|00000650| 20 69 74 20 75 73 65 66 | 75 6c 2c 20 70 6c 65 61 | it usef|ul, plea|
|00000660| 73 65 20 72 65 67 69 73 | 74 65 72 2e 0a 0a 40 45 |se regis|ter...@E|
|00000670| 6e 64 4e 6f 64 65 0a 40 | 4e 6f 64 65 20 41 42 4f |ndNode.@|Node ABO|
|00000680| 55 54 20 22 41 52 65 78 | 78 47 75 69 64 65 20 7c |UT "ARex|xGuide ||
|00000690| 20 46 75 6e 63 74 69 6f | 6e 73 20 52 65 66 65 72 | Functio|ns Refer|
|000006a0| 65 6e 63 65 20 7c 20 41 | 42 4f 55 54 22 0a 40 50 |ence | A|BOUT".@P|
|000006b0| 52 45 56 20 4d 41 49 4e | 0a 20 20 20 20 40 7b 46 |REV MAIN|. @{F|
|000006c0| 47 20 48 49 47 48 4c 49 | 47 48 54 7d 52 45 46 45 |G HIGHLI|GHT}REFE|
|000006d0| 52 45 4e 43 45 20 54 4f | 20 42 55 49 4c 54 2d 49 |RENCE TO| BUILT-I|
|000006e0| 4e 20 41 4e 44 20 52 45 | 58 58 53 55 50 50 4f 52 |N AND RE|XXSUPPOR|
|000006f0| 54 2e 4c 49 42 52 41 52 | 59 20 46 55 4e 43 54 49 |T.LIBRAR|Y FUNCTI|
|00000700| 4f 4e 53 40 7b 46 47 20 | 54 45 58 54 7d 0a 20 20 |ONS@{FG |TEXT}. |
|00000710| 20 20 7e 7e 7e 7e 7e 7e | 7e 7e 7e 7e 7e 7e 7e 7e | ~~~~~~|~~~~~~~~|
|00000720| 7e 7e 7e 7e 7e 7e 7e 7e | 7e 7e 7e 7e 7e 7e 7e 7e |~~~~~~~~|~~~~~~~~|
|00000730| 7e 7e 7e 7e 7e 7e 7e 7e | 7e 7e 7e 7e 7e 7e 7e 7e |~~~~~~~~|~~~~~~~~|
|00000740| 7e 7e 7e 7e 7e 7e 7e 7e | 7e 0a 54 68 69 73 20 73 |~~~~~~~~|~.This s|
|00000750| 65 63 74 69 6f 6e 20 70 | 72 65 73 65 6e 74 73 20 |ection p|resents |
|00000760| 61 20 72 65 66 65 72 65 | 6e 63 65 20 74 6f 20 40 |a refere|nce to @|
|00000770| 7b 22 20 62 75 69 6c 74 | 2d 69 6e 20 66 75 6e 63 |{" built|-in func|
|00000780| 74 69 6f 6e 73 20 22 20 | 6c 69 6e 6b 20 41 52 78 |tions " |link ARx|
|00000790| 5f 45 6c 65 6d 65 6e 74 | 73 33 2e 61 67 2f 42 4c |_Element|s3.ag/BL|
|000007a0| 54 46 55 4e 43 7d 20 61 | 6e 64 20 74 6f 20 74 68 |TFUNC} a|nd to th|
|000007b0| 65 0a 66 75 6e 63 74 69 | 6f 6e 73 20 69 6e 63 6c |e.functi|ons incl|
|000007c0| 75 64 65 64 20 69 6e 20 | 40 7b 22 20 72 65 78 78 |uded in |@{" rexx|
|000007d0| 73 75 70 70 6f 72 74 2e | 6c 69 62 72 61 72 79 20 |support.|library |
|000007e0| 22 20 6c 69 6e 6b 20 52 | 58 53 50 54 4c 49 42 7d |" link R|XSPTLIB}|
|000007f0| 2e 0a 0a 45 61 63 68 20 | 6e 6f 64 65 20 62 65 67 |...Each |node beg|
|00000800| 69 6e 73 20 77 69 74 68 | 20 61 20 74 65 6d 70 6c |ins with| a templ|
|00000810| 61 74 65 20 74 68 61 74 | 20 73 68 6f 77 73 20 74 |ate that| shows t|
|00000820| 68 65 20 66 6f 72 6d 61 | 74 20 6f 66 20 74 68 65 |he forma|t of the|
|00000830| 20 61 72 67 75 6d 65 6e | 74 73 0a 61 63 63 65 70 | argumen|ts.accep|
|00000840| 74 65 64 20 62 79 20 74 | 68 65 20 66 75 6e 63 74 |ted by t|he funct|
|00000850| 69 6f 6e 2e 20 54 68 65 | 20 66 6f 6c 6c 6f 77 69 |ion. The| followi|
|00000860| 6e 67 20 63 6f 6e 76 65 | 6e 74 69 6f 6e 73 20 61 |ng conve|ntions a|
|00000870| 72 65 20 75 73 65 64 3a | 0a 0a 20 20 20 3c 3e 20 |re used:|.. <> |
|00000880| 20 20 20 41 20 77 6f 72 | 64 20 6f 72 20 74 65 72 | A wor|d or ter|
|00000890| 6d 20 73 75 72 72 6f 75 | 6e 64 65 64 20 62 79 20 |m surrou|nded by |
|000008a0| 61 6e 67 6c 65 20 62 72 | 61 63 6b 65 74 73 20 73 |angle br|ackets s|
|000008b0| 68 6f 75 6c 64 20 62 65 | 20 72 65 70 6c 61 63 65 |hould be| replace|
|000008c0| 64 20 62 79 0a 20 20 20 | 20 20 20 20 20 20 61 6e |d by. | an|
|000008d0| 20 65 78 70 72 65 73 73 | 69 6f 6e 2e 20 41 6e 79 | express|ion. Any|
|000008e0| 20 66 6f 72 6d 20 6f 66 | 20 65 78 70 72 65 73 73 | form of| express|
|000008f0| 69 6f 6e 20 74 68 61 74 | 20 72 65 74 75 72 6e 73 |ion that| returns|
|00000900| 20 61 20 76 61 6c 75 65 | 20 6f 66 20 74 68 65 0a | a value| of the.|
|00000910| 20 20 20 20 20 20 20 20 | 20 70 72 6f 70 65 72 20 | | proper |
|00000920| 74 79 70 65 20 6d 61 79 | 20 62 65 20 75 73 65 64 |type may| be used|
|00000930| 20 69 6e 20 70 6c 61 63 | 65 20 6f 66 20 74 68 69 | in plac|e of thi|
|00000940| 73 20 69 74 65 6d 2e 20 | 54 68 65 20 72 65 70 6c |s item. |The repl|
|00000950| 61 63 65 6d 65 6e 74 20 | 69 73 0a 20 20 20 20 20 |acement |is. |
|00000960| 20 20 20 20 6f 66 74 65 | 6e 20 61 20 40 7b 22 20 | ofte|n a @{" |
|00000970| 76 61 72 69 61 62 6c 65 | 20 22 20 6c 69 6e 6b 20 |variable| " link |
|00000980| 41 52 78 5f 45 6c 65 6d | 65 6e 74 73 32 2e 61 67 |ARx_Elem|ents2.ag|
|00000990| 2f 56 41 52 49 41 42 4c | 45 7d 2c 20 62 75 74 20 |/VARIABL|E}, but |
|000009a0| 69 74 20 63 6f 75 6c 64 | 20 61 6c 73 6f 20 62 65 |it could| also be|
|000009b0| 20 61 20 6c 69 74 65 72 | 61 6c 20 76 61 6c 75 65 | a liter|al value|
|000009c0| 2c 20 61 6e 0a 20 20 20 | 20 20 20 20 20 20 40 7b |, an. | @{|
|000009d0| 22 20 6f 70 65 72 61 74 | 69 6f 6e 20 22 20 6c 69 |" operat|ion " li|
|000009e0| 6e 6b 20 41 52 78 5f 45 | 6c 65 6d 65 6e 74 73 33 |nk ARx_E|lements3|
|000009f0| 2e 61 67 2f 4f 50 45 52 | 41 54 49 4f 4e 7d 2c 20 |.ag/OPER|ATION}, |
|00000a00| 6f 72 20 61 6e 6f 74 68 | 65 72 20 66 75 6e 63 74 |or anoth|er funct|
|00000a10| 69 6f 6e 20 40 7b 22 20 | 63 61 6c 6c 20 22 20 6c |ion @{" |call " l|
|00000a20| 69 6e 6b 20 41 52 78 5f | 49 6e 73 74 72 2e 61 67 |ink ARx_|Instr.ag|
|00000a30| 2f 43 41 4c 4c 7d 2e 0a | 0a 20 20 20 20 20 20 20 |/CALL}..|. |
|00000a40| 20 20 54 68 65 20 6e 61 | 6d 65 73 20 75 73 65 64 | The na|mes used|
|00000a50| 20 66 6f 72 20 74 68 65 | 20 69 74 65 6d 73 20 69 | for the| items i|
|00000a60| 6e 20 65 61 63 68 20 74 | 65 6d 70 6c 61 74 65 20 |n each t|emplate |
|00000a70| 61 72 65 20 69 6e 63 6c | 75 64 65 64 20 61 73 0a |are incl|uded as.|
|00000a80| 20 20 20 20 20 20 20 20 | 20 6d 6e 65 6d 6f 6e 69 | | mnemoni|
|00000a90| 63 20 64 65 76 69 63 65 | 73 20 2d 2d 20 74 65 72 |c device|s -- ter|
|00000aa0| 6d 73 20 74 68 61 74 20 | 6d 61 79 20 68 65 6c 70 |ms that |may help|
|00000ab0| 20 74 68 65 20 75 73 65 | 72 20 72 65 6d 65 6d 62 | the use|r rememb|
|00000ac0| 65 72 20 77 68 61 74 0a | 20 20 20 20 20 20 20 20 |er what.| |
|00000ad0| 20 65 61 63 68 20 65 78 | 70 72 65 73 73 69 6f 6e | each ex|pression|
|00000ae0| 20 73 74 61 6e 64 73 20 | 66 6f 72 2e 20 54 68 65 | stands |for. The|
|00000af0| 79 20 61 72 65 20 6e 6f | 74 20 6f 74 68 65 72 77 |y are no|t otherw|
|00000b00| 69 73 65 20 73 69 67 6e | 69 66 69 63 61 6e 74 2e |ise sign|ificant.|
|00000b10| 0a 0a 20 20 20 20 20 20 | 20 20 20 45 61 63 68 20 |.. | Each |
|00000b20| 74 65 72 6d 20 69 73 20 | 65 78 70 6c 61 69 6e 65 |term is |explaine|
|00000b30| 64 20 69 6e 20 6d 6f 72 | 65 20 64 65 74 61 69 6c |d in mor|e detail|
|00000b40| 20 69 6e 20 74 68 65 20 | 6e 6f 74 65 20 66 6f 6c | in the |note fol|
|00000b50| 6c 6f 77 69 6e 67 20 74 | 68 65 0a 20 20 20 20 20 |lowing t|he. |
|00000b60| 20 20 20 20 74 65 6d 70 | 6c 61 74 65 2e 0a 0a 20 | temp|late... |
|00000b70| 20 20 5b 5d 20 20 20 20 | 49 74 65 6d 73 20 65 6e | [] |Items en|
|00000b80| 63 6c 6f 73 65 64 20 69 | 6e 20 73 71 75 61 72 65 |closed i|n square|
|00000b90| 20 62 72 61 63 6b 65 74 | 73 20 61 72 65 20 6f 70 | bracket|s are op|
|00000ba0| 74 69 6f 6e 61 6c 2e 20 | 54 68 65 79 20 6d 61 79 |tional. |They may|
|00000bb0| 20 62 65 0a 20 20 20 20 | 20 20 20 20 20 65 78 63 | be. | exc|
|00000bc0| 6c 75 64 65 64 20 77 68 | 65 6e 20 74 68 65 20 66 |luded wh|en the f|
|00000bd0| 75 6e 63 74 69 6f 6e 20 | 69 73 20 63 61 6c 6c 65 |unction |is calle|
|00000be0| 64 2c 20 62 75 74 20 74 | 68 65 20 63 6f 6d 6d 61 |d, but t|he comma|
|00000bf0| 73 20 74 68 61 74 0a 20 | 20 20 20 20 20 20 20 20 |s that. | |
|00000c00| 73 65 70 61 72 61 74 65 | 20 6f 70 74 69 6f 6e 61 |separate| optiona|
|00000c10| 6c 20 69 74 65 6d 73 20 | 61 72 65 20 73 69 67 6e |l items |are sign|
|00000c20| 69 66 69 63 61 6e 74 2e | 20 49 66 20 6f 6e 6c 79 |ificant.| If only|
|00000c30| 20 74 68 65 20 73 65 63 | 6f 6e 64 20 6f 66 0a 20 | the sec|ond of. |
|00000c40| 20 20 20 20 20 20 20 20 | 74 77 6f 20 6f 70 74 69 | |two opti|
|00000c50| 6f 6e 61 6c 20 69 74 65 | 6d 73 20 69 73 20 69 6e |onal ite|ms is in|
|00000c60| 63 6c 75 64 65 64 2c 20 | 61 20 63 6f 6d 6d 61 20 |cluded, |a comma |
|00000c70| 6d 75 73 74 20 73 74 69 | 6c 6c 20 62 65 20 75 73 |must sti|ll be us|
|00000c80| 65 64 20 61 73 20 61 0a | 20 20 20 20 20 20 20 20 |ed as a.| |
|00000c90| 20 70 6c 61 63 65 68 6f | 6c 64 65 72 20 66 6f 72 | placeho|lder for|
|00000ca0| 20 74 68 65 20 6f 6d 69 | 74 74 65 64 20 69 74 65 | the omi|tted ite|
|00000cb0| 6d 20 61 73 20 69 74 20 | 69 73 20 69 6e 20 74 68 |m as it |is in th|
|00000cc0| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 3a 0a 0a 20 20 |e follow|ing:.. |
|00000cd0| 20 20 20 20 20 20 20 20 | 20 20 53 48 4f 57 28 27 | | SHOW('|
|00000ce0| 50 27 2c 2c 27 30 61 27 | 78 29 0a 0a 20 20 20 7b |P',,'0a'|x).. {|
|00000cf0| 7d 20 20 20 20 49 74 65 | 6d 73 20 65 6e 63 6c 6f |} Ite|ms enclo|
|00000d00| 73 65 64 20 69 6e 20 63 | 75 72 6c 79 20 62 72 61 |sed in c|urly bra|
|00000d10| 63 65 73 20 61 6e 64 20 | 65 6e 74 65 72 65 64 20 |ces and |entered |
|00000d20| 69 6e 20 75 70 70 65 72 | 63 61 73 65 20 61 72 65 |in upper|case are|
|00000d30| 0a 20 20 20 20 20 20 20 | 20 20 6c 69 74 65 72 61 |. | litera|
|00000d40| 6c 20 76 61 6c 75 65 73 | 2e 20 54 68 65 20 65 78 |l values|. The ex|
|00000d50| 70 72 65 73 73 69 6f 6e | 20 75 73 65 64 20 66 6f |pression| used fo|
|00000d60| 72 20 73 75 63 68 20 61 | 6e 20 61 72 67 75 6d 65 |r such a|n argume|
|00000d70| 6e 74 20 6d 75 73 74 0a | 20 20 20 20 20 20 20 20 |nt must.| |
|00000d80| 20 72 65 74 75 72 6e 20 | 6f 6e 65 20 6f 66 20 74 | return |one of t|
|00000d90| 68 65 20 76 61 6c 75 65 | 73 20 66 72 6f 6d 20 74 |he value|s from t|
|00000da0| 68 65 20 6c 69 73 74 2e | 0a 0a 20 20 20 7c 20 20 |he list.|.. | |
|00000db0| 20 20 20 41 20 62 61 72 | 20 69 73 20 75 73 65 64 | A bar| is used|
|00000dc0| 20 74 6f 20 73 65 70 61 | 72 61 74 65 20 61 20 6c | to sepa|rate a l|
|00000dd0| 69 73 74 20 6f 66 20 6c | 69 74 65 72 61 6c 20 76 |ist of l|iteral v|
|00000de0| 61 6c 75 65 73 20 77 69 | 74 68 69 6e 20 7b 7d 0a |alues wi|thin {}.|
|00000df0| 20 20 20 20 20 20 20 20 | 20 62 72 61 63 65 73 2e | | braces.|
|00000e00| 0a 0a 20 20 20 3c 55 43 | 3e 20 20 55 50 50 45 52 |.. <UC|> UPPER|
|00000e10| 43 41 53 45 20 63 68 61 | 72 61 63 74 65 72 73 20 |CASE cha|racters |
|00000e20| 61 72 65 20 75 73 65 64 | 20 74 6f 20 69 6e 64 69 |are used| to indi|
|00000e30| 63 61 74 65 20 6c 69 74 | 65 72 61 6c 20 76 61 6c |cate lit|eral val|
|00000e40| 75 65 73 20 74 68 61 74 | 20 6d 61 79 0a 20 20 20 |ues that| may. |
|00000e50| 20 20 20 20 20 20 62 65 | 20 75 73 65 64 20 61 73 | be| used as|
|00000e60| 20 61 72 67 75 6d 65 6e | 74 2e 20 54 68 65 20 76 | argumen|t. The v|
|00000e70| 61 6c 75 65 20 6d 61 79 | 20 62 65 20 65 6e 74 65 |alue may| be ente|
|00000e80| 72 65 64 20 69 6e 20 75 | 70 70 65 72 20 6f 72 0a |red in u|pper or.|
|00000e90| 20 20 20 20 20 20 20 20 | 20 6c 6f 77 65 72 63 61 | | lowerca|
|00000ea0| 73 65 20 77 68 65 6e 20 | 74 68 65 20 69 6e 73 74 |se when |the inst|
|00000eb0| 72 75 63 74 69 6f 6e 20 | 69 73 20 61 63 74 75 61 |ruction |is actua|
|00000ec0| 6c 6c 79 20 75 73 65 64 | 2e 20 4f 6e 6c 79 20 74 |lly used|. Only t|
|00000ed0| 68 65 20 66 69 72 73 74 | 0a 20 20 20 20 20 20 20 |he first|. |
|00000ee0| 20 20 6c 65 74 74 65 72 | 20 6f 66 20 74 68 65 20 | letter| of the |
|00000ef0| 6f 70 74 69 6f 6e 20 6e | 65 65 64 20 62 65 20 69 |option n|eed be i|
|00000f00| 6e 63 6c 75 64 65 64 2e | 20 54 68 65 20 76 61 6c |ncluded.| The val|
|00000f10| 75 65 20 6d 61 79 20 62 | 65 20 65 6e 74 65 72 65 |ue may b|e entere|
|00000f20| 64 0a 20 20 20 20 20 20 | 20 20 20 61 73 20 61 6e |d. | as an|
|00000f30| 79 20 74 79 70 65 20 6f | 66 20 40 7b 22 20 65 78 |y type o|f @{" ex|
|00000f40| 70 72 65 73 73 69 6f 6e | 20 22 20 6c 69 6e 6b 20 |pression| " link |
|00000f50| 41 52 78 5f 45 6c 65 6d | 65 6e 74 73 32 2e 61 67 |ARx_Elem|ents2.ag|
|00000f60| 2f 45 58 50 52 45 53 53 | 49 4f 4e 7d 2e 0a 0a 20 |/EXPRESS|ION}... |
|00000f70| 20 20 3e 3e 3e 20 20 20 | 54 68 72 65 65 20 61 6e | >>> |Three an|
|00000f80| 67 6c 65 2d 62 72 61 63 | 65 73 20 61 72 65 20 75 |gle-brac|es are u|
|00000f90| 73 65 64 20 69 6e 20 65 | 78 61 6d 70 6c 65 73 20 |sed in e|xamples |
|00000fa0| 74 6f 20 69 6e 64 69 63 | 61 74 65 20 77 68 61 74 |to indic|ate what|
|00000fb0| 20 74 68 65 0a 20 20 20 | 20 20 20 20 20 20 65 78 | the. | ex|
|00000fc0| 61 6d 70 6c 65 20 77 6f | 75 6c 64 20 6f 75 74 70 |ample wo|uld outp|
|00000fd0| 75 74 20 69 66 20 72 75 | 6e 20 66 72 6f 6d 20 61 |ut if ru|n from a|
|00000fe0| 20 73 68 65 6c 6c 2e 20 | 54 68 6f 73 65 20 62 72 | shell. |Those br|
|00000ff0| 61 63 65 73 20 61 6e 64 | 20 74 68 65 0a 20 20 20 |aces and| the. |
|00001000| 20 20 20 20 20 20 66 6f | 6c 6c 6f 77 69 6e 67 20 | fo|llowing |
|00001010| 74 65 78 74 20 69 73 20 | 6e 6f 74 20 70 61 72 74 |text is |not part|
|00001020| 20 6f 66 20 74 68 65 20 | 63 6f 64 65 20 61 6e 64 | of the |code and|
|00001030| 20 73 68 6f 75 6c 64 20 | 6e 6f 74 20 62 65 0a 20 | should |not be. |
|00001040| 20 20 20 20 20 20 20 20 | 65 6e 74 65 72 65 64 20 | |entered |
|00001050| 69 66 20 74 68 65 20 65 | 78 61 6d 70 6c 65 20 69 |if the e|xample i|
|00001060| 73 20 75 73 65 64 2e 0a | 0a 4e 65 78 74 3a 20 52 |s used..|.Next: R|
|00001070| 45 58 58 53 55 50 50 4f | 52 54 2e 4c 49 42 52 41 |EXXSUPPO|RT.LIBRA|
|00001080| 52 59 20 7c 20 50 72 65 | 76 3a 20 46 75 6e 63 74 |RY | Pre|v: Funct|
|00001090| 69 6f 6e 20 72 65 66 2e | 20 7c 20 43 6f 6e 74 65 |ion ref.| | Conte|
|000010a0| 6e 74 73 3a 20 46 75 6e | 63 74 69 6f 6e 20 72 65 |nts: Fun|ction re|
|000010b0| 66 2e 0a 0a 40 45 6e 64 | 4e 6f 64 65 0a 40 4e 6f |f...@End|Node.@No|
|000010c0| 64 65 20 52 58 53 50 54 | 4c 49 42 20 22 41 52 65 |de RXSPT|LIB "ARe|
|000010d0| 78 78 47 75 69 64 65 20 | 7c 20 46 75 6e 63 74 69 |xxGuide || Functi|
|000010e0| 6f 6e 73 20 52 65 66 65 | 72 65 6e 63 65 20 7c 20 |ons Refe|rence | |
|000010f0| 52 45 58 58 53 55 50 50 | 4f 52 54 2e 4c 49 42 52 |REXXSUPP|ORT.LIBR|
|00001100| 41 52 59 22 0a 40 4e 45 | 58 54 20 4d 41 49 4e 0a |ARY".@NE|XT MAIN.|
|00001110| 40 7b 22 20 46 75 6e 63 | 74 69 6f 6e 73 20 22 20 |@{" Func|tions " |
|00001120| 6c 69 6e 6b 20 41 52 78 | 5f 45 6c 65 6d 65 6e 74 |link ARx|_Element|
|00001130| 73 33 2e 61 67 2f 46 55 | 4e 43 54 49 4f 4e 7d 20 |s3.ag/FU|NCTION} |
|00001140| 63 61 6e 20 62 65 20 61 | 64 64 65 64 20 74 6f 20 |can be a|dded to |
|00001150| 41 52 65 78 78 20 62 79 | 20 6d 65 61 6e 73 20 6f |ARexx by| means o|
|00001160| 66 20 40 7b 22 20 65 78 | 74 65 72 6e 61 6c 20 6c |f @{" ex|ternal l|
|00001170| 69 62 72 61 72 69 65 73 | 20 22 20 6c 69 6e 6b 20 |ibraries| " link |
|00001180| 41 52 78 5f 45 6c 65 6d | 65 6e 74 73 33 2e 61 67 |ARx_Elem|ents3.ag|
|00001190| 2f 45 58 54 46 55 4e 43 | 7d 2e 20 4f 6e 65 0a 73 |/EXTFUNC|}. One.s|
|000011a0| 75 63 68 20 6c 69 62 72 | 61 72 79 20 69 73 20 69 |uch libr|ary is i|
|000011b0| 6e 63 6c 75 64 65 64 20 | 77 69 74 68 20 74 68 65 |ncluded |with the|
|000011c0| 20 64 69 73 74 72 69 62 | 75 74 69 6f 6e 20 6f 66 | distrib|ution of|
|000011d0| 20 41 52 65 78 78 2e 20 | 43 61 6c 6c 65 64 0a 27 | ARexx. |Called.'|
|000011e0| 72 65 78 78 73 75 70 70 | 6f 72 74 2e 6c 69 62 72 |rexxsupp|ort.libr|
|000011f0| 61 72 79 27 2c 20 69 74 | 20 73 68 6f 75 6c 64 20 |ary', it| should |
|00001200| 62 65 20 70 72 65 73 65 | 6e 74 20 69 6e 20 74 68 |be prese|nt in th|
|00001210| 65 20 75 73 65 72 27 73 | 20 6c 69 62 73 3a 20 64 |e user's| libs: d|
|00001220| 69 72 65 63 74 6f 72 79 | 0a 61 66 74 65 72 20 41 |irectory|.after A|
|00001230| 52 65 78 78 20 69 73 20 | 69 6e 73 74 61 6c 6c 65 |Rexx is |installe|
|00001240| 64 2e 0a 0a 54 68 65 20 | 6c 69 62 72 61 72 79 20 |d...The |library |
|00001250| 61 64 64 73 20 73 65 76 | 65 72 61 6c 20 41 6d 69 |adds sev|eral Ami|
|00001260| 67 61 2d 73 70 65 63 69 | 66 69 63 20 66 75 6e 63 |ga-speci|fic func|
|00001270| 74 69 6f 6e 73 20 74 68 | 61 74 20 61 72 65 20 6e |tions th|at are n|
|00001280| 6f 74 20 64 65 66 69 6e | 65 64 20 61 73 0a 61 20 |ot defin|ed as.a |
|00001290| 73 74 61 6e 64 61 72 64 | 20 70 61 72 74 20 6f 66 |standard| part of|
|000012a0| 20 74 68 65 20 52 45 58 | 58 20 6c 61 6e 67 75 61 | the REX|X langua|
|000012b0| 67 65 2e 20 49 6e 63 6c | 75 64 65 64 20 61 72 65 |ge. Incl|uded are|
|000012c0| 20 6d 65 6d 6f 72 79 2d | 63 6f 6e 74 72 6f 6c 0a | memory-|control.|
|000012d0| 66 75 6e 63 74 69 6f 6e | 73 20 6c 69 6b 65 20 40 |function|s like @|
|000012e0| 7b 22 20 41 4c 4c 4f 43 | 4d 45 4d 28 29 20 22 20 |{" ALLOC|MEM() " |
|000012f0| 6c 69 6e 6b 20 41 52 78 | 5f 46 75 6e 63 34 2e 61 |link ARx|_Func4.a|
|00001300| 67 2f 41 4c 4c 4f 43 4d | 45 4d 28 29 7d 2c 20 66 |g/ALLOCM|EM()}, f|
|00001310| 69 6c 65 20 73 79 73 74 | 65 6d 20 66 75 6e 63 74 |ile syst|em funct|
|00001320| 69 6f 6e 73 20 6c 69 6b | 65 20 40 7b 22 20 4d 41 |ions lik|e @{" MA|
|00001330| 4b 45 44 49 52 28 29 20 | 22 20 6c 69 6e 6b 20 41 |KEDIR() |" link A|
|00001340| 52 78 5f 46 75 6e 63 33 | 2e 61 67 2f 4d 41 4b 45 |Rx_Func3|.ag/MAKE|
|00001350| 44 49 52 28 29 7d 2c 20 | 61 6e 64 0a 69 6e 74 65 |DIR()}, |and.inte|
|00001360| 72 70 72 6f 63 65 73 73 | 2d 63 6f 6d 6d 75 6e 69 |rprocess|-communi|
|00001370| 63 61 74 69 6f 6e 20 66 | 75 6e 63 74 69 6f 6e 73 |cation f|unctions|
|00001380| 20 6c 69 6b 65 20 40 7b | 22 20 4f 50 45 4e 50 4f | like @{|" OPENPO|
|00001390| 52 54 28 29 20 22 20 6c | 69 6e 6b 20 41 52 78 5f |RT() " l|ink ARx_|
|000013a0| 46 75 6e 63 34 2e 61 67 | 2f 4f 50 45 4e 50 4f 52 |Func4.ag|/OPENPOR|
|000013b0| 54 28 29 7d 2e 0a 0a 54 | 68 65 20 66 75 6e 63 74 |T()}...T|he funct|
|000013c0| 69 6f 6e 73 20 69 6e 20 | 72 65 78 78 73 75 70 70 |ions in |rexxsupp|
|000013d0| 6f 72 74 2e 6c 69 62 72 | 61 72 79 20 77 69 6c 6c |ort.libr|ary will|
|000013e0| 20 6e 6f 74 20 61 75 74 | 6f 6d 61 74 69 63 61 6c | not aut|omatical|
|000013f0| 6c 79 20 62 65 20 61 76 | 61 69 6c 61 62 6c 65 0a |ly be av|ailable.|
|00001400| 74 6f 20 41 52 65 78 78 | 20 73 63 72 69 70 74 73 |to ARexx| scripts|
|00001410| 2c 20 68 6f 77 65 76 65 | 72 2e 20 54 68 65 20 61 |, howeve|r. The a|
|00001420| 72 65 20 61 76 61 69 6c | 61 62 6c 65 20 6f 6e 6c |re avail|able onl|
|00001430| 79 20 69 66 20 74 68 65 | 20 6c 69 62 72 61 72 79 |y if the| library|
|00001440| 20 69 73 0a 65 78 70 6c | 69 63 69 74 6c 79 20 61 | is.expl|icitly a|
|00001450| 64 64 65 64 20 74 6f 20 | 74 68 65 20 6c 69 73 74 |dded to |the list|
|00001460| 20 6f 66 20 6c 69 62 72 | 61 72 69 65 73 20 74 68 | of libr|aries th|
|00001470| 72 6f 75 67 68 20 77 68 | 69 63 68 20 41 52 65 78 |rough wh|ich ARex|
|00001480| 78 20 73 65 61 72 63 68 | 65 73 20 74 6f 0a 66 69 |x search|es to.fi|
|00001490| 6e 64 20 66 75 6e 63 74 | 69 6f 6e 73 2e 0a 0a 54 |nd funct|ions...T|
|000014a0| 68 61 74 20 63 61 6e 20 | 62 65 20 64 6f 6e 65 20 |hat can |be done |
|000014b0| 77 69 74 68 20 74 68 65 | 20 40 7b 22 20 41 44 44 |with the| @{" ADD|
|000014c0| 4c 49 42 28 29 20 22 20 | 6c 69 6e 6b 20 41 52 78 |LIB() " |link ARx|
|000014d0| 5f 46 75 6e 63 33 2e 61 | 67 2f 41 44 44 4c 49 42 |_Func3.a|g/ADDLIB|
|000014e0| 28 29 7d 20 66 75 6e 63 | 74 69 6f 6e 20 6f 72 20 |()} func|tion or |
|000014f0| 77 69 74 68 20 74 68 65 | 20 40 7b 22 20 52 58 4c |with the| @{" RXL|
|00001500| 49 42 20 22 20 6c 69 6e | 6b 20 41 52 78 5f 43 6d |IB " lin|k ARx_Cm|
|00001510| 64 2e 61 67 2f 52 58 4c | 49 42 7d 20 63 6f 6d 6d |d.ag/RXL|IB} comm|
|00001520| 61 6e 64 0a 75 74 69 6c | 69 74 79 2e 20 45 78 61 |and.util|ity. Exa|
|00001530| 6d 70 6c 65 73 20 6f 66 | 20 6c 6f 61 64 69 6e 67 |mples of| loading|
|00001540| 20 74 68 65 20 6c 69 62 | 72 61 72 79 20 61 72 65 | the lib|rary are|
|00001550| 20 69 6e 63 6c 75 64 65 | 64 20 77 69 74 68 20 74 | include|d with t|
|00001560| 68 65 20 64 65 73 63 72 | 69 70 74 69 6f 6e 0a 6f |he descr|iption.o|
|00001570| 66 20 65 61 63 68 20 6f | 66 20 74 68 6f 73 65 20 |f each o|f those |
|00001580| 6d 65 74 68 6f 64 73 2e | 0a 0a 46 72 65 71 75 65 |methods.|..Freque|
|00001590| 6e 74 20 75 73 65 72 73 | 20 6f 66 20 41 52 65 78 |nt users| of ARex|
|000015a0| 78 20 6d 61 79 20 77 69 | 73 68 20 74 6f 20 61 64 |x may wi|sh to ad|
|000015b0| 64 20 72 65 78 78 73 75 | 70 70 6f 72 74 2e 6c 69 |d rexxsu|pport.li|
|000015c0| 62 72 61 72 79 20 74 6f | 20 74 68 65 20 73 79 73 |brary to| the sys|
|000015d0| 74 65 6d 0a 64 75 72 69 | 6e 67 20 74 68 65 20 73 |tem.duri|ng the s|
|000015e0| 74 61 72 74 75 70 20 73 | 65 71 75 65 6e 63 65 2e |tartup s|equence.|
|000015f0| 0a 0a 4e 65 78 74 3a 20 | 46 75 6e 63 74 69 6f 6e |..Next: |Function|
|00001600| 20 72 65 66 2e 20 7c 20 | 50 72 65 76 3a 20 41 62 | ref. | |Prev: Ab|
|00001610| 6f 75 74 20 73 65 63 74 | 69 6f 6e 20 7c 20 43 6f |out sect|ion | Co|
|00001620| 6e 74 65 6e 74 73 3a 20 | 46 75 6e 63 74 69 6f 6e |ntents: |Function|
|00001630| 20 72 65 66 2e 0a 0a 40 | 45 6e 64 4e 6f 64 65 0a | ref...@|EndNode.|
|00001640| 40 4e 6f 64 65 20 46 75 | 6e 63 4c 69 73 74 20 22 |@Node Fu|ncList "|
|00001650| 41 52 65 78 78 47 75 69 | 64 65 20 7c 20 46 75 6e |ARexxGui|de | Fun|
|00001660| 63 74 69 6f 6e 73 20 72 | 65 66 65 72 65 6e 63 65 |ctions r|eference|
|00001670| 20 7c 20 49 4e 44 45 58 | 20 74 6f 20 62 75 69 6c | | INDEX| to buil|
|00001680| 74 2d 69 6e 20 26 20 73 | 75 70 70 6f 72 74 20 66 |t-in & s|upport f|
|00001690| 75 6e 63 74 69 6f 6e 73 | 22 22 0a 40 4e 65 78 74 |unctions|"".@Next|
|000016a0| 20 4d 41 49 4e 0a 40 50 | 52 45 56 20 4d 41 49 4e | MAIN.@P|REV MAIN|
|000016b0| 0a 40 7b 22 20 41 42 42 | 52 45 56 20 20 20 20 20 |.@{" ABB|REV |
|000016c0| 20 20 22 20 6c 69 6e 6b | 20 41 42 42 52 45 56 28 | " link| ABBREV(|
|000016d0| 29 7d 20 40 7b 22 20 41 | 42 53 20 20 20 20 20 20 |)} @{" A|BS |
|000016e0| 20 20 20 20 22 20 6c 69 | 6e 6b 20 41 52 78 5f 46 | " li|nk ARx_F|
|000016f0| 75 6e 63 32 2e 61 67 2f | 41 42 53 28 29 7d 20 40 |unc2.ag/|ABS()} @|
|00001700| 7b 22 20 41 44 44 52 45 | 53 53 20 20 20 20 20 20 |{" ADDRE|SS |
|00001710| 22 20 6c 69 6e 6b 20 41 | 52 78 5f 46 75 6e 63 33 |" link A|Rx_Func3|
|00001720| 2e 61 67 2f 41 44 44 52 | 45 53 53 28 29 7d 20 40 |.ag/ADDR|ESS()} @|
|00001730| 7b 22 20 41 44 44 4c 49 | 42 20 20 20 20 20 20 20 |{" ADDLI|B |
|00001740| 22 20 6c 69 6e 6b 20 41 | 52 78 5f 46 75 6e 63 33 |" link A|Rx_Func3|
|00001750| 2e 61 67 2f 41 44 44 4c | 49 42 28 29 7d 20 40 7b |.ag/ADDL|IB()} @{|
|00001760| 22 20 41 4c 4c 4f 43 4d | 45 4d 20 20 20 20 20 22 |" ALLOCM|EM "|
|00001770| 20 6c 69 6e 6b 20 41 52 | 78 5f 46 75 6e 63 34 2e | link AR|x_Func4.|
|00001780| 61 67 2f 41 4c 4c 4f 43 | 4d 45 4d 28 29 7d 0a 40 |ag/ALLOC|MEM()}.@|
|00001790| 7b 22 20 41 52 47 20 20 | 20 20 20 20 20 20 20 20 |{" ARG | |
|000017a0| 22 20 6c 69 6e 6b 20 41 | 52 78 5f 46 75 6e 63 33 |" link A|Rx_Func3|
|000017b0| 2e 61 67 2f 41 52 47 28 | 29 7d 20 40 7b 22 20 42 |.ag/ARG(|)} @{" B|
|000017c0| 41 44 44 52 20 20 20 20 | 20 20 20 20 22 20 6c 69 |ADDR | " li|
|000017d0| 6e 6b 20 41 52 78 5f 46 | 75 6e 63 34 2e 61 67 2f |nk ARx_F|unc4.ag/|
|000017e0| 42 41 44 44 52 28 29 7d | 20 40 7b 22 20 42 32 43 |BADDR()}| @{" B2C|
|000017f0| 20 20 20 20 20 20 20 20 | 20 20 22 20 6c 69 6e 6b | | " link|
|00001800| 20 41 52 78 5f 46 75 6e | 63 32 2e 61 67 2f 42 32 | ARx_Fun|c2.ag/B2|
|00001810| 43 28 29 7d 20 40 7b 22 | 20 42 49 54 41 4e 44 20 |C()} @{"| BITAND |
|00001820| 20 20 20 20 20 20 22 20 | 6c 69 6e 6b 20 41 52 78 | " |link ARx|
|00001830| 5f 46 75 6e 63 34 2e 61 | 67 2f 42 49 54 41 4e 44 |_Func4.a|g/BITAND|
|00001840| 28 29 7d 20 40 7b 22 20 | 42 49 54 43 48 47 20 20 |()} @{" |BITCHG |
|00001850| 20 20 20 20 20 22 20 6c | 69 6e 6b 20 41 52 78 5f | " l|ink ARx_|
|00001860| 46 75 6e 63 34 2e 61 67 | 2f 42 49 54 43 48 47 28 |Func4.ag|/BITCHG(|
|00001870| 29 7d 0a 40 7b 22 20 42 | 49 54 43 4c 52 20 20 20 |)}.@{" B|ITCLR |
|00001880| 20 20 20 20 22 20 6c 69 | 6e 6b 20 41 52 78 5f 46 | " li|nk ARx_F|
|00001890| 75 6e 63 34 2e 61 67 2f | 42 49 54 43 4c 52 28 29 |unc4.ag/|BITCLR()|
|000018a0| 7d 20 40 7b 22 20 42 49 | 54 43 4f 4d 50 20 20 20 |} @{" BI|TCOMP |
|000018b0| 20 20 20 22 20 6c 69 6e | 6b 20 41 52 78 5f 46 75 | " lin|k ARx_Fu|
|000018c0| 6e 63 34 2e 61 67 2f 42 | 49 54 43 4f 4d 50 28 29 |nc4.ag/B|ITCOMP()|
|000018d0| 7d 20 40 7b 22 20 42 49 | 54 4f 52 20 20 20 20 20 |} @{" BI|TOR |
|000018e0| 20 20 20 22 20 6c 69 6e | 6b 20 41 52 78 5f 46 75 | " lin|k ARx_Fu|
|000018f0| 6e 63 34 2e 61 67 2f 42 | 49 54 4f 52 28 29 7d 20 |nc4.ag/B|ITOR()} |
|00001900| 40 7b 22 20 42 49 54 53 | 45 54 20 20 20 20 20 20 |@{" BITS|ET |
|00001910| 20 22 20 6c 69 6e 6b 20 | 41 52 78 5f 46 75 6e 63 | " link |ARx_Func|
|00001920| 34 2e 61 67 2f 42 49 54 | 53 45 54 28 29 7d 20 40 |4.ag/BIT|SET()} @|
|00001930| 7b 22 20 42 49 54 54 53 | 54 20 20 20 20 20 20 20 |{" BITTS|T |
|00001940| 22 20 6c 69 6e 6b 20 41 | 52 78 5f 46 75 6e 63 34 |" link A|Rx_Func4|
|00001950| 2e 61 67 2f 42 49 54 54 | 53 54 28 29 7d 0a 40 7b |.ag/BITT|ST()}.@{|
|00001960| 22 20 42 49 54 58 4f 52 | 20 20 20 20 20 20 20 22 |" BITXOR| "|
|00001970| 20 6c 69 6e 6b 20 41 52 | 78 5f 46 75 6e 63 34 2e | link AR|x_Func4.|
|00001980| 61 67 2f 42 49 54 58 4f | 52 28 29 7d 20 40 7b 22 |ag/BITXO|R()} @{"|
|00001990| 20 43 32 42 20 20 20 20 | 20 20 20 20 20 20 22 20 | C2B | " |
|000019a0| 6c 69 6e 6b 20 41 52 78 | 5f 46 75 6e 63 32 2e 61 |link ARx|_Func2.a|
|000019b0| 67 2f 43 32 42 28 29 7d | 20 40 7b 22 20 43 32 44 |g/C2B()}| @{" C2D|
|000019c0| 20 20 20 20 20 20 20 20 | 20 20 22 20 6c 69 6e 6b | | " link|
|000019d0| 20 41 52 78 5f 46 75 6e | 63 32 2e 61 67 2f 43 32 | ARx_Fun|c2.ag/C2|
|000019e0| 44 28 29 7d 20 40 7b 22 | 20 43 32 58 20 20 20 20 |D()} @{"| C2X |
|000019f0| 20 20 20 20 20 20 22 20 | 6c 69 6e 6b 20 41 52 78 | " |link ARx|
|00001a00| 5f 46 75 6e 63 32 2e 61 | 67 2f 43 32 58 28 29 7d |_Func2.a|g/C2X()}|
|00001a10| 20 40 7b 22 20 43 45 4e | 54 45 52 20 20 20 20 20 | @{" CEN|TER |
|00001a20| 20 20 22 20 6c 69 6e 6b | 20 43 45 4e 54 45 52 28 | " link| CENTER(|
|00001a30| 29 7d 0a 40 7b 22 20 43 | 4c 4f 53 45 20 20 20 20 |)}.@{" C|LOSE |
|00001a40| 20 20 20 20 22 20 6c 69 | 6e 6b 20 41 52 78 5f 46 | " li|nk ARx_F|
|00001a50| 75 6e 63 33 2e 61 67 2f | 43 4c 4f 53 45 28 29 7d |unc3.ag/|CLOSE()}|
|00001a60| 20 40 7b 22 20 43 4c 4f | 53 45 50 4f 52 54 20 20 | @{" CLO|SEPORT |
|00001a70| 20 20 22 20 6c 69 6e 6b | 20 41 52 78 5f 46 75 6e | " link| ARx_Fun|
|00001a80| 63 34 2e 61 67 2f 43 4c | 4f 53 45 50 4f 52 54 28 |c4.ag/CL|OSEPORT(|
|00001a90| 29 7d 20 40 7b 22 20 43 | 4f 4d 50 41 52 45 20 20 |)} @{" C|OMPARE |
|00001aa0| 20 20 20 20 22 20 6c 69 | 6e 6b 20 43 4f 4d 50 41 | " li|nk COMPA|
|00001ab0| 52 45 28 29 7d 20 40 7b | 22 20 43 4f 4d 50 52 45 |RE()} @{|" COMPRE|
|00001ac0| 53 53 20 20 20 20 20 22 | 20 6c 69 6e 6b 20 43 4f |SS "| link CO|
|00001ad0| 4d 50 52 45 53 53 28 29 | 7d 20 40 7b 22 20 43 4f |MPRESS()|} @{" CO|
|00001ae0| 50 49 45 53 20 20 20 20 | 20 20 20 22 20 6c 69 6e |PIES | " lin|
|00001af0| 6b 20 43 4f 50 49 45 53 | 28 29 7d 0a 40 7b 22 20 |k COPIES|()}.@{" |
|00001b00| 44 32 43 20 20 20 20 20 | 20 20 20 20 20 22 20 6c |D2C | " l|
|00001b10| 69 6e 6b 20 41 52 78 5f | 46 75 6e 63 32 2e 61 67 |ink ARx_|Func2.ag|
|00001b20| 2f 44 32 43 28 29 7d 20 | 40 7b 22 20 44 41 54 41 |/D2C()} |@{" DATA|
|00001b30| 54 59 50 45 20 20 20 20 | 20 22 20 6c 69 6e 6b 20 |TYPE | " link |
|00001b40| 41 52 78 5f 46 75 6e 63 | 33 2e 61 67 2f 44 41 54 |ARx_Func|3.ag/DAT|
|00001b50| 41 54 59 50 45 28 29 7d | 20 40 7b 22 20 44 41 54 |ATYPE()}| @{" DAT|
|00001b60| 45 20 20 20 20 20 20 20 | 20 20 22 20 6c 69 6e 6b |E | " link|
|00001b70| 20 41 52 78 5f 46 75 6e | 63 32 2e 61 67 2f 44 41 | ARx_Fun|c2.ag/DA|
|00001b80| 54 45 28 29 7d 20 40 7b | 22 20 44 45 4c 41 59 20 |TE()} @{|" DELAY |
|00001b90| 20 20 20 20 20 20 20 22 | 20 6c 69 6e 6b 20 41 52 | "| link AR|
|00001ba0| 78 5f 46 75 6e 63 33 2e | 61 67 2f 44 45 4c 41 59 |x_Func3.|ag/DELAY|
|00001bb0| 28 29 7d 20 40 7b 22 20 | 44 45 4c 45 54 45 20 20 |()} @{" |DELETE |
|00001bc0| 20 20 20 20 20 22 20 6c | 69 6e 6b 20 41 52 78 5f | " l|ink ARx_|
|00001bd0| 46 75 6e 63 33 2e 61 67 | 2f 44 45 4c 45 54 45 28 |Func3.ag|/DELETE(|
|00001be0| 29 7d 0a 40 7b 22 20 44 | 45 4c 53 54 52 20 20 20 |)}.@{" D|ELSTR |
|00001bf0| 20 20 20 20 22 20 6c 69 | 6e 6b 20 44 45 4c 53 54 | " li|nk DELST|
|00001c00| 52 28 29 7d 20 40 7b 22 | 20 44 45 4c 57 4f 52 44 |R()} @{"| DELWORD|
|00001c10| 20 20 20 20 20 20 22 20 | 6c 69 6e 6b 20 41 52 78 | " |link ARx|
|00001c20| 5f 46 75 6e 63 32 2e 61 | 67 2f 44 45 4c 57 4f 52 |_Func2.a|g/DELWOR|
|00001c30| 44 28 29 7d 20 40 7b 22 | 20 44 49 47 49 54 53 20 |D()} @{"| DIGITS |
|00001c40| 20 20 20 20 20 20 22 20 | 6c 69 6e 6b 20 41 52 78 | " |link ARx|
|00001c50| 5f 46 75 6e 63 33 2e 61 | 67 2f 44 49 47 49 54 53 |_Func3.a|g/DIGITS|
|00001c60| 28 29 7d 20 40 7b 22 20 | 45 4f 46 20 20 20 20 20 |()} @{" |EOF |
|00001c70| 20 20 20 20 20 22 20 6c | 69 6e 6b 20 41 52 78 5f | " l|ink ARx_|
|00001c80| 46 75 6e 63 33 2e 61 67 | 2f 45 4f 46 28 29 7d 20 |Func3.ag|/EOF()} |
|00001c90| 40 7b 22 20 45 52 52 4f | 52 54 45 58 54 20 20 20 |@{" ERRO|RTEXT |
|00001ca0| 20 22 20 6c 69 6e 6b 20 | 41 52 78 5f 46 75 6e 63 | " link |ARx_Func|
|00001cb0| 33 2e 61 67 2f 45 52 52 | 4f 52 54 45 58 54 28 29 |3.ag/ERR|ORTEXT()|
|00001cc0| 7d 0a 40 7b 22 20 45 58 | 49 53 54 53 20 20 20 20 |}.@{" EX|ISTS |
|00001cd0| 20 20 20 22 20 6c 69 6e | 6b 20 41 52 78 5f 46 75 | " lin|k ARx_Fu|
|00001ce0| 6e 63 33 2e 61 67 2f 45 | 58 49 53 54 53 28 29 7d |nc3.ag/E|XISTS()}|
|00001cf0| 20 40 7b 22 20 45 58 50 | 4f 52 54 20 20 20 20 20 | @{" EXP|ORT |
|00001d00| 20 20 22 20 6c 69 6e 6b | 20 41 52 78 5f 46 75 6e | " link| ARx_Fun|
|00001d10| 63 34 2e 61 67 2f 45 58 | 50 4f 52 54 28 29 7d 20 |c4.ag/EX|PORT()} |
|00001d20| 40 7b 22 20 46 49 4e 44 | 20 20 20 20 20 20 20 20 |@{" FIND| |
|00001d30| 20 22 20 6c 69 6e 6b 20 | 46 49 4e 44 28 29 7d 20 | " link |FIND()} |
|00001d40| 40 7b 22 20 46 4f 52 42 | 49 44 20 20 20 20 20 20 |@{" FORB|ID |
|00001d50| 20 22 20 6c 69 6e 6b 20 | 41 52 78 5f 46 75 6e 63 | " link |ARx_Func|
|00001d60| 34 2e 61 67 2f 46 4f 52 | 42 49 44 28 29 7d 20 40 |4.ag/FOR|BID()} @|
|00001d70| 7b 22 20 46 4f 52 4d 20 | 20 20 20 20 20 20 20 20 |{" FORM | |
|00001d80| 22 20 6c 69 6e 6b 20 41 | 52 78 5f 46 75 6e 63 33 |" link A|Rx_Func3|
|00001d90| 2e 61 67 2f 46 4f 52 4d | 28 29 7d 0a 40 7b 22 20 |.ag/FORM|()}.@{" |
|00001da0| 46 52 45 45 4d 45 4d 20 | 20 20 20 20 20 22 20 6c |FREEMEM | " l|
|00001db0| 69 6e 6b 20 41 52 78 5f | 46 75 6e 63 34 2e 61 67 |ink ARx_|Func4.ag|
|00001dc0| 2f 46 52 45 45 4d 45 4d | 28 29 7d 20 40 7b 22 20 |/FREEMEM|()} @{" |
|00001dd0| 46 52 45 45 53 50 41 43 | 45 20 20 20 20 22 20 6c |FREESPAC|E " l|
|00001de0| 69 6e 6b 20 41 52 78 5f | 46 75 6e 63 34 2e 61 67 |ink ARx_|Func4.ag|
|00001df0| 2f 46 52 45 45 53 50 41 | 43 45 28 29 7d 20 40 7b |/FREESPA|CE()} @{|
|00001e00| 22 20 46 55 5a 5a 20 20 | 20 20 20 20 20 20 20 22 |" FUZZ | "|
|00001e10| 20 6c 69 6e 6b 20 41 52 | 78 5f 46 75 6e 63 33 2e | link AR|x_Func3.|
|00001e20| 61 67 2f 46 55 5a 5a 28 | 29 7d 20 40 7b 22 20 47 |ag/FUZZ(|)} @{" G|
|00001e30| 45 54 41 52 47 20 20 20 | 20 20 20 20 22 20 6c 69 |ETARG | " li|
|00001e40| 6e 6b 20 41 52 78 5f 46 | 75 6e 63 34 2e 61 67 2f |nk ARx_F|unc4.ag/|
|00001e50| 47 45 54 41 52 47 28 29 | 7d 20 40 7b 22 20 47 45 |GETARG()|} @{" GE|
|00001e60| 54 43 4c 49 50 20 20 20 | 20 20 20 22 20 6c 69 6e |TCLIP | " lin|
|00001e70| 6b 20 41 52 78 5f 46 75 | 6e 63 33 2e 61 67 2f 47 |k ARx_Fu|nc3.ag/G|
|00001e80| 45 54 43 4c 49 50 28 29 | 7d 0a 40 7b 22 20 47 45 |ETCLIP()|}.@{" GE|
|00001e90| 54 50 4b 54 20 20 20 20 | 20 20 20 22 20 6c 69 6e |TPKT | " lin|
|00001ea0| 6b 20 41 52 78 5f 46 75 | 6e 63 34 2e 61 67 2f 47 |k ARx_Fu|nc4.ag/G|
|00001eb0| 45 54 50 4b 54 28 29 7d | 20 40 7b 22 20 47 45 54 |ETPKT()}| @{" GET|
|00001ec0| 53 50 41 43 45 20 20 20 | 20 20 22 20 6c 69 6e 6b |SPACE | " link|
|00001ed0| 20 41 52 78 5f 46 75 6e | 63 34 2e 61 67 2f 47 45 | ARx_Fun|c4.ag/GE|
|00001ee0| 54 53 50 41 43 45 28 29 | 7d 20 40 7b 22 20 48 41 |TSPACE()|} @{" HA|
|00001ef0| 53 48 20 20 20 20 20 20 | 20 20 20 22 20 6c 69 6e |SH | " lin|
|00001f00| 6b 20 41 52 78 5f 46 75 | 6e 63 32 2e 61 67 2f 48 |k ARx_Fu|nc2.ag/H|
|00001f10| 41 53 48 28 29 7d 20 40 | 7b 22 20 49 4d 50 4f 52 |ASH()} @|{" IMPOR|
|00001f20| 54 20 20 20 20 20 20 20 | 22 20 6c 69 6e 6b 20 41 |T |" link A|
|00001f30| 52 78 5f 46 75 6e 63 34 | 2e 61 67 2f 49 4d 50 4f |Rx_Func4|.ag/IMPO|
|00001f40| 52 54 28 29 7d 20 40 7b | 22 20 49 4e 44 45 58 20 |RT()} @{|" INDEX |
|00001f50| 20 20 20 20 20 20 20 22 | 20 6c 69 6e 6b 20 49 4e | "| link IN|
|00001f60| 44 45 58 28 29 7d 0a 40 | 7b 22 20 49 4e 53 45 52 |DEX()}.@|{" INSER|
|00001f70| 54 20 20 20 20 20 20 20 | 22 20 6c 69 6e 6b 20 49 |T |" link I|
|00001f80| 4e 53 45 52 54 28 29 7d | 20 40 7b 22 20 4c 41 53 |NSERT()}| @{" LAS|
|00001f90| 54 50 4f 53 20 20 20 20 | 20 20 22 20 6c 69 6e 6b |TPOS | " link|
|00001fa0| 20 4c 41 53 54 50 4f 53 | 28 29 7d 20 40 7b 22 20 | LASTPOS|()} @{" |
|00001fb0| 4c 45 46 54 20 20 20 20 | 20 20 20 20 20 22 20 6c |LEFT | " l|
|00001fc0| 69 6e 6b 20 4c 45 46 54 | 28 29 7d 20 40 7b 22 20 |ink LEFT|()} @{" |
|00001fd0| 4c 45 4e 47 54 48 20 20 | 20 20 20 20 20 22 20 6c |LENGTH | " l|
|00001fe0| 69 6e 6b 20 4c 45 4e 47 | 54 48 28 29 7d 20 40 7b |ink LENG|TH()} @{|
|00001ff0| 22 20 4c 49 4e 45 53 20 | 20 20 20 20 20 20 20 22 |" LINES | "|
|00002000| 20 6c 69 6e 6b 20 41 52 | 78 5f 46 75 6e 63 33 2e | link AR|x_Func3.|
|00002010| 61 67 2f 4c 49 4e 45 53 | 28 29 7d 0a 40 7b 22 20 |ag/LINES|()}.@{" |
|00002020| 4d 41 4b 45 44 49 52 20 | 20 20 20 20 20 22 20 6c |MAKEDIR | " l|
|00002030| 69 6e 6b 20 41 52 78 5f | 46 75 6e 63 33 2e 61 67 |ink ARx_|Func3.ag|
|00002040| 2f 4d 41 4b 45 44 49 52 | 28 29 7d 20 40 7b 22 20 |/MAKEDIR|()} @{" |
|00002050| 4d 41 58 20 20 20 20 20 | 20 20 20 20 20 22 20 6c |MAX | " l|
|00002060| 69 6e 6b 20 41 52 78 5f | 46 75 6e 63 32 2e 61 67 |ink ARx_|Func2.ag|
|00002070| 2f 4d 41 58 28 29 7d 20 | 40 7b 22 20 4d 49 4e 20 |/MAX()} |@{" MIN |
|00002080| 20 20 20 20 20 20 20 20 | 20 22 20 6c 69 6e 6b 20 | | " link |
|00002090| 41 52 78 5f 46 75 6e 63 | 32 2e 61 67 2f 4d 49 4e |ARx_Func|2.ag/MIN|
|000020a0| 28 29 7d 20 40 7b 22 20 | 4e 45 58 54 20 20 20 20 |()} @{" |NEXT |
|000020b0| 20 20 20 20 20 22 20 6c | 69 6e 6b 20 41 52 78 5f | " l|ink ARx_|
|000020c0| 46 75 6e 63 34 2e 61 67 | 2f 4e 45 58 54 28 29 7d |Func4.ag|/NEXT()}|
|000020d0| 20 40 7b 22 20 4e 55 4c | 4c 20 20 20 20 20 20 20 | @{" NUL|L |
|000020e0| 20 20 22 20 6c 69 6e 6b | 20 41 52 78 5f 46 75 6e | " link| ARx_Fun|
|000020f0| 63 34 2e 61 67 2f 4e 55 | 4c 4c 28 29 7d 0a 40 7b |c4.ag/NU|LL()}.@{|
|00002100| 22 20 4f 46 46 53 45 54 | 20 20 20 20 20 20 20 22 |" OFFSET| "|
|00002110| 20 6c 69 6e 6b 20 41 52 | 78 5f 46 75 6e 63 34 2e | link AR|x_Func4.|
|00002120| 61 67 2f 4f 46 46 53 45 | 54 28 29 7d 20 40 7b 22 |ag/OFFSE|T()} @{"|
|00002130| 20 4f 50 45 4e 20 20 20 | 20 20 20 20 20 20 22 20 | OPEN | " |
|00002140| 6c 69 6e 6b 20 41 52 78 | 5f 46 75 6e 63 33 2e 61 |link ARx|_Func3.a|
|00002150| 67 2f 4f 50 45 4e 28 29 | 7d 20 40 7b 22 20 4f 50 |g/OPEN()|} @{" OP|
|00002160| 45 4e 50 4f 52 54 20 20 | 20 20 20 22 20 6c 69 6e |ENPORT | " lin|
|00002170| 6b 20 41 52 78 5f 46 75 | 6e 63 34 2e 61 67 2f 4f |k ARx_Fu|nc4.ag/O|
|00002180| 50 45 4e 50 4f 52 54 28 | 29 7d 20 40 7b 22 20 4f |PENPORT(|)} @{" O|
|00002190| 56 45 52 4c 41 59 20 20 | 20 20 20 20 22 20 6c 69 |VERLAY | " li|
|000021a0| 6e 6b 20 4f 56 45 52 4c | 41 59 28 29 7d 20 40 7b |nk OVERL|AY()} @{|
|000021b0| 22 20 50 45 52 4d 49 54 | 20 20 20 20 20 20 20 22 |" PERMIT| "|
|000021c0| 20 6c 69 6e 6b 20 41 52 | 78 5f 46 75 6e 63 34 2e | link AR|x_Func4.|
|000021d0| 61 67 2f 50 45 52 4d 49 | 54 28 29 7d 0a 40 7b 22 |ag/PERMI|T()}.@{"|
|000021e0| 20 50 4f 53 20 20 20 20 | 20 20 20 20 20 20 22 20 | POS | " |
|000021f0| 6c 69 6e 6b 20 50 4f 53 | 28 29 7d 20 40 7b 22 20 |link POS|()} @{" |
|00002200| 50 52 41 47 4d 41 20 20 | 20 20 20 20 20 22 20 6c |PRAGMA | " l|
|00002210| 69 6e 6b 20 41 52 78 5f | 46 75 6e 63 33 2e 61 67 |ink ARx_|Func3.ag|
|00002220| 2f 50 52 41 47 4d 41 28 | 29 7d 20 40 7b 22 20 52 |/PRAGMA(|)} @{" R|
|00002230| 41 4e 44 4f 4d 20 20 20 | 20 20 20 20 22 20 6c 69 |ANDOM | " li|
|00002240| 6e 6b 20 41 52 78 5f 46 | 75 6e 63 32 2e 61 67 2f |nk ARx_F|unc2.ag/|
|00002250| 52 41 4e 44 4f 4d 28 29 | 7d 20 40 7b 22 20 52 41 |RANDOM()|} @{" RA|
|00002260| 4e 44 55 20 20 20 20 20 | 20 20 20 22 20 6c 69 6e |NDU | " lin|
|00002270| 6b 20 41 52 78 5f 46 75 | 6e 63 32 2e 61 67 2f 52 |k ARx_Fu|nc2.ag/R|
|00002280| 41 4e 44 55 28 29 7d 20 | 40 7b 22 20 52 45 41 44 |ANDU()} |@{" READ|
|00002290| 43 48 20 20 20 20 20 20 | 20 22 20 6c 69 6e 6b 20 |CH | " link |
|000022a0| 41 52 78 5f 46 75 6e 63 | 33 2e 61 67 2f 52 45 41 |ARx_Func|3.ag/REA|
|000022b0| 44 43 48 28 29 7d 0a 40 | 7b 22 20 52 45 41 44 4c |DCH()}.@|{" READL|
|000022c0| 4e 20 20 20 20 20 20 20 | 22 20 6c 69 6e 6b 20 41 |N |" link A|
|000022d0| 52 78 5f 46 75 6e 63 33 | 2e 61 67 2f 52 45 41 44 |Rx_Func3|.ag/READ|
|000022e0| 4c 4e 28 29 7d 20 40 7b | 22 20 52 45 4d 4c 49 42 |LN()} @{|" REMLIB|
|000022f0| 20 20 20 20 20 20 20 22 | 20 6c 69 6e 6b 20 41 52 | "| link AR|
|00002300| 78 5f 46 75 6e 63 33 2e | 61 67 2f 52 45 4d 4c 49 |x_Func3.|ag/REMLI|
|00002310| 42 28 29 7d 20 40 7b 22 | 20 52 45 4e 41 4d 45 20 |B()} @{"| RENAME |
|00002320| 20 20 20 20 20 20 22 20 | 6c 69 6e 6b 20 41 52 78 | " |link ARx|
|00002330| 5f 46 75 6e 63 33 2e 61 | 67 2f 52 45 4e 41 4d 45 |_Func3.a|g/RENAME|
|00002340| 28 29 7d 20 40 7b 22 20 | 52 45 50 4c 59 20 20 20 |()} @{" |REPLY |
|00002350| 20 20 20 20 20 22 20 6c | 69 6e 6b 20 41 52 78 5f | " l|ink ARx_|
|00002360| 46 75 6e 63 34 2e 61 67 | 2f 52 45 50 4c 59 28 29 |Func4.ag|/REPLY()|
|00002370| 7d 20 40 7b 22 20 52 45 | 56 45 52 53 45 20 20 20 |} @{" RE|VERSE |
|00002380| 20 20 20 22 20 6c 69 6e | 6b 20 52 45 56 45 52 53 | " lin|k REVERS|
|00002390| 45 28 29 7d 0a 40 7b 22 | 20 52 49 47 48 54 20 20 |E()}.@{"| RIGHT |
|000023a0| 20 20 20 20 20 20 22 20 | 6c 69 6e 6b 20 52 49 47 | " |link RIG|
|000023b0| 48 54 28 29 7d 20 40 7b | 22 20 53 45 45 4b 20 20 |HT()} @{|" SEEK |
|000023c0| 20 20 20 20 20 20 20 22 | 20 6c 69 6e 6b 20 41 52 | "| link AR|
|000023d0| 78 5f 46 75 6e 63 33 2e | 61 67 2f 53 45 45 4b 28 |x_Func3.|ag/SEEK(|
|000023e0| 29 7d 20 40 7b 22 20 53 | 45 54 43 4c 49 50 20 20 |)} @{" S|ETCLIP |
|000023f0| 20 20 20 20 22 20 6c 69 | 6e 6b 20 41 52 78 5f 46 | " li|nk ARx_F|
|00002400| 75 6e 63 33 2e 61 67 2f | 53 45 54 43 4c 49 50 28 |unc3.ag/|SETCLIP(|
|00002410| 29 7d 20 40 7b 22 20 53 | 48 4f 57 20 20 20 20 20 |)} @{" S|HOW |
|00002420| 20 20 20 20 22 20 6c 69 | 6e 6b 20 41 52 78 5f 46 | " li|nk ARx_F|
|00002430| 75 6e 63 32 2e 61 67 2f | 53 48 4f 57 28 29 7d 20 |unc2.ag/|SHOW()} |
|00002440| 40 7b 22 20 53 48 4f 57 | 44 49 52 20 20 20 20 20 |@{" SHOW|DIR |
|00002450| 20 22 20 6c 69 6e 6b 20 | 41 52 78 5f 46 75 6e 63 | " link |ARx_Func|
|00002460| 32 2e 61 67 2f 53 48 4f | 57 44 49 52 28 29 7d 0a |2.ag/SHO|WDIR()}.|
|00002470| 40 7b 22 20 53 48 4f 57 | 4c 49 53 54 20 20 20 20 |@{" SHOW|LIST |
|00002480| 20 22 20 6c 69 6e 6b 20 | 41 52 78 5f 46 75 6e 63 | " link |ARx_Func|
|00002490| 32 2e 61 67 2f 53 48 4f | 57 4c 49 53 54 28 29 7d |2.ag/SHO|WLIST()}|
|000024a0| 20 40 7b 22 20 53 49 47 | 4e 20 20 20 20 20 20 20 | @{" SIG|N |
|000024b0| 20 20 22 20 6c 69 6e 6b | 20 41 52 78 5f 46 75 6e | " link| ARx_Fun|
|000024c0| 63 32 2e 61 67 2f 53 49 | 47 4e 28 29 7d 20 40 7b |c2.ag/SI|GN()} @{|
|000024d0| 22 20 53 4f 55 52 43 45 | 4c 49 4e 45 20 20 20 22 |" SOURCE|LINE "|
|000024e0| 20 6c 69 6e 6b 20 41 52 | 78 5f 46 75 6e 63 33 2e | link AR|x_Func3.|
|000024f0| 61 67 2f 53 4f 55 52 43 | 45 4c 49 4e 45 28 29 7d |ag/SOURC|ELINE()}|
|00002500| 20 40 7b 22 20 53 50 41 | 43 45 20 20 20 20 20 20 | @{" SPA|CE |
|00002510| 20 20 22 20 6c 69 6e 6b | 20 41 52 78 5f 46 75 6e | " link| ARx_Fun|
|00002520| 63 32 2e 61 67 2f 53 50 | 41 43 45 28 29 7d 20 40 |c2.ag/SP|ACE()} @|
|00002530| 7b 22 20 53 54 41 54 45 | 46 20 20 20 20 20 20 20 |{" STATE|F |
|00002540| 22 20 6c 69 6e 6b 20 41 | 52 78 5f 46 75 6e 63 33 |" link A|Rx_Func3|
|00002550| 2e 61 67 2f 53 54 41 54 | 45 46 28 29 7d 0a 40 7b |.ag/STAT|EF()}.@{|
|00002560| 22 20 53 54 4f 52 41 47 | 45 20 20 20 20 20 20 22 |" STORAG|E "|
|00002570| 20 6c 69 6e 6b 20 41 52 | 78 5f 46 75 6e 63 34 2e | link AR|x_Func4.|
|00002580| 61 67 2f 53 54 4f 52 41 | 47 45 28 29 7d 20 40 7b |ag/STORA|GE()} @{|
|00002590| 22 20 53 54 52 49 50 20 | 20 20 20 20 20 20 20 22 |" STRIP | "|
|000025a0| 20 6c 69 6e 6b 20 53 54 | 52 49 50 28 29 7d 20 40 | link ST|RIP()} @|
|000025b0| 7b 22 20 53 55 42 53 54 | 52 20 20 20 20 20 20 20 |{" SUBST|R |
|000025c0| 22 20 6c 69 6e 6b 20 53 | 55 42 53 54 52 28 29 7d |" link S|UBSTR()}|
|000025d0| 20 40 7b 22 20 53 55 42 | 57 4f 52 44 20 20 20 20 | @{" SUB|WORD |
|000025e0| 20 20 22 20 6c 69 6e 6b | 20 41 52 78 5f 46 75 6e | " link| ARx_Fun|
|000025f0| 63 32 2e 61 67 2f 53 55 | 42 57 4f 52 44 28 29 7d |c2.ag/SU|BWORD()}|
|00002600| 20 40 7b 22 20 53 59 4d | 42 4f 4c 20 20 20 20 20 | @{" SYM|BOL |
|00002610| 20 20 22 20 6c 69 6e 6b | 20 41 52 78 5f 46 75 6e | " link| ARx_Fun|
|00002620| 63 33 2e 61 67 2f 53 59 | 4d 42 4f 4c 28 29 7d 0a |c3.ag/SY|MBOL()}.|
|00002630| 40 7b 22 20 54 49 4d 45 | 20 20 20 20 20 20 20 20 |@{" TIME| |
|00002640| 20 22 20 6c 69 6e 6b 20 | 41 52 78 5f 46 75 6e 63 | " link |ARx_Func|
|00002650| 32 2e 61 67 2f 54 49 4d | 45 28 29 7d 20 40 7b 22 |2.ag/TIM|E()} @{"|
|00002660| 20 54 52 41 43 45 20 20 | 20 20 20 20 20 20 22 20 | TRACE | " |
|00002670| 6c 69 6e 6b 20 41 52 78 | 5f 46 75 6e 63 33 2e 61 |link ARx|_Func3.a|
|00002680| 67 2f 54 52 41 43 45 28 | 29 7d 20 40 7b 22 20 54 |g/TRACE(|)} @{" T|
|00002690| 52 41 4e 53 4c 41 54 45 | 20 20 20 20 22 20 6c 69 |RANSLATE| " li|
|000026a0| 6e 6b 20 54 52 41 4e 53 | 4c 41 54 45 28 29 7d 20 |nk TRANS|LATE()} |
|000026b0| 40 7b 22 20 54 52 49 4d | 20 20 20 20 20 20 20 20 |@{" TRIM| |
|000026c0| 20 22 20 6c 69 6e 6b 20 | 54 52 49 4d 28 29 7d 20 | " link |TRIM()} |
|000026d0| 40 7b 22 20 54 52 55 4e | 43 20 20 20 20 20 20 20 |@{" TRUN|C |
|000026e0| 20 22 20 6c 69 6e 6b 20 | 41 52 78 5f 46 75 6e 63 | " link |ARx_Func|
|000026f0| 32 2e 61 67 2f 54 52 55 | 4e 43 28 29 7d 0a 40 7b |2.ag/TRU|NC()}.@{|
|00002700| 22 20 54 59 50 45 50 4b | 54 20 20 20 20 20 20 22 |" TYPEPK|T "|
|00002710| 20 6c 69 6e 6b 20 41 52 | 78 5f 46 75 6e 63 34 2e | link AR|x_Func4.|
|00002720| 61 67 2f 54 59 50 45 50 | 4b 54 28 29 7d 20 40 7b |ag/TYPEP|KT()} @{|
|00002730| 22 20 55 50 50 45 52 20 | 20 20 20 20 20 20 20 22 |" UPPER | "|
|00002740| 20 6c 69 6e 6b 20 55 50 | 50 45 52 28 29 7d 20 40 | link UP|PER()} @|
|00002750| 7b 22 20 56 41 4c 55 45 | 20 20 20 20 20 20 20 20 |{" VALUE| |
|00002760| 22 20 6c 69 6e 6b 20 41 | 52 78 5f 46 75 6e 63 33 |" link A|Rx_Func3|
|00002770| 2e 61 67 2f 56 41 4c 55 | 45 28 29 7d 20 40 7b 22 |.ag/VALU|E()} @{"|
|00002780| 20 56 45 52 49 46 59 20 | 20 20 20 20 20 20 22 20 | VERIFY | " |
|00002790| 6c 69 6e 6b 20 56 45 52 | 49 46 59 28 29 7d 20 40 |link VER|IFY()} @|
|000027a0| 7b 22 20 57 41 49 54 50 | 4b 54 20 20 20 20 20 20 |{" WAITP|KT |
|000027b0| 22 20 6c 69 6e 6b 20 41 | 52 78 5f 46 75 6e 63 34 |" link A|Rx_Func4|
|000027c0| 2e 61 67 2f 57 41 49 54 | 50 4b 54 28 29 7d 0a 40 |.ag/WAIT|PKT()}.@|
|000027d0| 7b 22 20 57 4f 52 44 20 | 20 20 20 20 20 20 20 20 |{" WORD | |
|000027e0| 22 20 6c 69 6e 6b 20 41 | 52 78 5f 46 75 6e 63 32 |" link A|Rx_Func2|
|000027f0| 2e 61 67 2f 57 4f 52 44 | 28 29 7d 20 40 7b 22 20 |.ag/WORD|()} @{" |
|00002800| 57 4f 52 44 49 4e 44 45 | 58 20 20 20 20 22 20 6c |WORDINDE|X " l|
|00002810| 69 6e 6b 20 41 52 78 5f | 46 75 6e 63 32 2e 61 67 |ink ARx_|Func2.ag|
|00002820| 2f 57 4f 52 44 49 4e 44 | 45 58 28 29 7d 20 40 7b |/WORDIND|EX()} @{|
|00002830| 22 20 57 4f 52 44 4c 45 | 4e 47 54 48 20 20 20 22 |" WORDLE|NGTH "|
|00002840| 20 6c 69 6e 6b 20 41 52 | 78 5f 46 75 6e 63 32 2e | link AR|x_Func2.|
|00002850| 61 67 2f 57 4f 52 44 4c | 45 4e 47 54 48 28 29 7d |ag/WORDL|ENGTH()}|
|00002860| 20 40 7b 22 20 57 4f 52 | 44 53 20 20 20 20 20 20 | @{" WOR|DS |
|00002870| 20 20 22 20 6c 69 6e 6b | 20 41 52 78 5f 46 75 6e | " link| ARx_Fun|
|00002880| 63 32 2e 61 67 2f 57 4f | 52 44 53 28 29 7d 20 40 |c2.ag/WO|RDS()} @|
|00002890| 7b 22 20 57 52 49 54 45 | 43 48 20 20 20 20 20 20 |{" WRITE|CH |
|000028a0| 22 20 6c 69 6e 6b 20 41 | 52 78 5f 46 75 6e 63 33 |" link A|Rx_Func3|
|000028b0| 2e 61 67 2f 57 52 49 54 | 45 43 48 28 29 7d 0a 40 |.ag/WRIT|ECH()}.@|
|000028c0| 7b 22 20 57 52 49 54 45 | 4c 4e 20 20 20 20 20 20 |{" WRITE|LN |
|000028d0| 22 20 6c 69 6e 6b 20 41 | 52 78 5f 46 75 6e 63 33 |" link A|Rx_Func3|
|000028e0| 2e 61 67 2f 57 52 49 54 | 45 4c 4e 28 29 7d 20 40 |.ag/WRIT|ELN()} @|
|000028f0| 7b 22 20 58 32 43 20 20 | 20 20 20 20 20 20 20 20 |{" X2C | |
|00002900| 22 20 6c 69 6e 6b 20 41 | 52 78 5f 46 75 6e 63 32 |" link A|Rx_Func2|
|00002910| 2e 61 67 2f 58 32 43 28 | 29 7d 20 40 7b 22 20 58 |.ag/X2C(|)} @{" X|
|00002920| 52 41 4e 47 45 20 20 20 | 20 20 20 20 22 20 6c 69 |RANGE | " li|
|00002930| 6e 6b 20 58 52 41 4e 47 | 45 28 29 7d 0a 0a 40 45 |nk XRANG|E()}..@E|
|00002940| 6e 64 4e 6f 64 65 0a 0a | 40 4e 6f 64 65 20 43 4d |ndNode..|@Node CM|
|00002950| 50 52 4c 49 53 54 20 22 | 41 52 65 78 78 47 75 69 |PRLIST "|ARexxGui|
|00002960| 64 65 20 7c 20 46 75 6e | 63 74 69 6f 6e 73 20 72 |de | Fun|ctions r|
|00002970| 65 66 65 72 65 6e 63 65 | 20 28 31 20 6f 66 20 31 |eference| (1 of 1|
|00002980| 32 29 20 7c 20 43 4f 4d | 50 41 52 49 53 4f 4e 22 |2) | COM|PARISON"|
|00002990| 0a 40 50 72 65 76 20 4d | 41 49 4e 0a 40 4e 45 58 |.@Prev M|AIN.@NEX|
|000029a0| 54 20 53 54 52 4c 49 53 | 54 0a 20 20 20 40 7b 22 |T STRLIS|T. @{"|
|000029b0| 20 41 42 42 52 45 56 20 | 20 20 20 22 20 6c 69 6e | ABBREV | " lin|
|000029c0| 6b 20 41 42 42 52 45 56 | 28 29 7d 28 3c 6c 6f 6e |k ABBREV|()}(<lon|
|000029d0| 67 73 74 72 69 6e 67 3e | 2c 3c 73 68 6f 72 74 73 |gstring>|,<shorts|
|000029e0| 74 72 69 6e 67 3e 2c 5b | 3c 6c 65 6e 67 74 68 3e |tring>,[|<length>|
|000029f0| 5d 29 0a 20 20 20 40 7b | 22 20 43 4f 4d 50 41 52 |]). @{|" COMPAR|
|00002a00| 45 20 20 20 22 20 6c 69 | 6e 6b 20 43 4f 4d 50 41 |E " li|nk COMPA|
|00002a10| 52 45 28 29 7d 28 3c 73 | 74 72 69 6e 67 31 3e 2c |RE()}(<s|tring1>,|
|00002a20| 3c 73 74 72 69 6e 67 32 | 3e 2c 5b 3c 70 61 64 63 |<string2|>,[<padc|
|00002a30| 68 61 72 3e 5d 29 0a 20 | 20 20 40 7b 22 20 46 49 |har>]). | @{" FI|
|00002a40| 4e 44 20 20 20 20 20 20 | 22 20 6c 69 6e 6b 20 46 |ND |" link F|
|00002a50| 49 4e 44 28 29 7d 28 3c | 68 61 79 73 74 61 63 6b |IND()}(<|haystack|
|00002a60| 3e 2c 20 3c 6e 65 65 64 | 6c 65 3e 29 0a 20 20 20 |>, <need|le>). |
|00002a70| 40 7b 22 20 49 4e 44 45 | 58 20 20 20 20 20 22 20 |@{" INDE|X " |
|00002a80| 6c 69 6e 6b 20 49 4e 44 | 45 58 28 29 7d 28 3c 68 |link IND|EX()}(<h|
|00002a90| 61 79 73 74 61 63 6b 3e | 2c 3c 6e 65 65 64 6c 65 |aystack>|,<needle|
|00002aa0| 3e 2c 20 5b 3c 73 74 61 | 72 74 70 6f 73 3e 5d 29 |>, [<sta|rtpos>])|
|00002ab0| 0a 20 20 20 40 7b 22 20 | 4c 41 53 54 50 4f 53 20 |. @{" |LASTPOS |
|00002ac0| 20 20 22 20 6c 69 6e 6b | 20 4c 41 53 54 50 4f 53 | " link| LASTPOS|
|00002ad0| 28 29 7d 28 3c 6e 65 65 | 64 6c 65 3e 2c 3c 68 61 |()}(<nee|dle>,<ha|
|00002ae0| 79 73 74 61 63 6b 3e 2c | 5b 3c 73 74 61 72 74 70 |ystack>,|[<startp|
|00002af0| 6f 73 3e 5d 29 0a 20 20 | 20 40 7b 22 20 50 4f 53 |os>]). | @{" POS|
|00002b00| 20 20 20 20 20 20 20 22 | 20 6c 69 6e 6b 20 50 4f | "| link PO|
|00002b10| 53 28 29 7d 28 3c 6e 65 | 65 64 6c 65 3e 2c 3c 68 |S()}(<ne|edle>,<h|
|00002b20| 61 79 73 74 61 63 6b 3e | 2c 5b 3c 73 74 61 72 74 |aystack>|,[<start|
|00002b30| 70 6f 73 3e 5d 29 0a 20 | 20 20 40 7b 22 20 56 45 |pos>]). | @{" VE|
|00002b40| 52 49 46 59 20 20 20 20 | 22 20 6c 69 6e 6b 20 56 |RIFY |" link V|
|00002b50| 45 52 49 46 59 28 29 7d | 28 3c 73 74 72 69 6e 67 |ERIFY()}|(<string|
|00002b60| 3e 2c 20 3c 72 65 66 65 | 72 65 6e 63 65 3e 2c 20 |>, <refe|rence>, |
|00002b70| 5b 7b 27 4e 4f 4d 41 54 | 43 48 27 7c 27 4d 41 54 |[{'NOMAT|CH'|'MAT|
|00002b80| 43 48 27 7d 5d 2c 20 5b | 3c 73 74 61 72 74 70 6f |CH'}], [|<startpo|
|00002b90| 73 3e 5d 29 0a 0a 52 65 | 6c 61 74 65 64 20 66 75 |s>])..Re|lated fu|
|00002ba0| 6e 63 74 69 6f 6e 73 3a | 0a 20 20 20 40 7b 22 20 |nctions:|. @{" |
|00002bb0| 42 49 54 43 4f 4d 50 20 | 20 20 22 20 6c 69 6e 6b |BITCOMP | " link|
|00002bc0| 20 41 52 78 5f 46 75 6e | 63 34 2e 61 67 2f 42 49 | ARx_Fun|c4.ag/BI|
|00002bd0| 54 43 4f 4d 50 28 29 7d | 0a 20 20 20 40 7b 22 20 |TCOMP()}|. @{" |
|00002be0| 42 49 54 54 53 54 20 20 | 20 20 22 20 6c 69 6e 6b |BITTST | " link|
|00002bf0| 20 41 52 78 5f 46 75 6e | 63 34 2e 61 67 2f 42 49 | ARx_Fun|c4.ag/BI|
|00002c00| 54 54 53 54 28 29 7d 0a | 20 20 20 40 7b 22 20 44 |TTST()}.| @{" D|
|00002c10| 41 54 41 54 59 50 45 20 | 20 22 20 6c 69 6e 6b 20 |ATATYPE | " link |
|00002c20| 41 52 78 5f 46 75 6e 63 | 33 2e 61 67 2f 44 41 54 |ARx_Func|3.ag/DAT|
|00002c30| 41 54 59 50 45 28 29 7d | 0a 0a 20 20 20 20 20 20 |ATYPE()}|.. |
|00002c40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 41 | | A|
|00002c50| 6c 73 6f 20 73 65 65 20 | 40 7b 22 20 42 69 74 20 |lso see |@{" Bit |
|00002c60| 6d 61 6e 69 70 75 6c 61 | 74 69 6f 6e 20 66 75 6e |manipula|tion fun|
|00002c70| 63 74 69 6f 6e 73 20 20 | 20 22 20 6c 69 6e 6b 20 |ctions | " link |
|00002c80| 41 52 78 5f 46 75 6e 63 | 34 2e 61 67 2f 42 49 54 |ARx_Func|4.ag/BIT|
|00002c90| 4c 49 53 54 7d 0a 0a 43 | 6f 6d 70 61 72 69 73 6f |LIST}..C|ompariso|
|00002ca0| 6e 73 20 6f 66 20 6f 6e | 65 20 74 79 70 65 20 6f |ns of on|e type o|
|00002cb0| 72 20 61 6e 6f 74 68 65 | 72 20 61 72 65 20 6f 6e |r anothe|r are on|
|00002cc0| 65 20 6f 66 20 74 68 65 | 20 6d 6f 73 74 20 66 72 |e of the| most fr|
|00002cd0| 65 71 75 65 6e 74 20 74 | 61 73 6b 73 20 6f 66 0a |equent t|asks of.|
|00002ce0| 61 6e 79 20 70 72 6f 67 | 72 61 6d 2e 20 43 6f 6d |any prog|ram. Com|
|00002cf0| 70 61 72 69 73 6f 6e 73 | 20 61 6c 6c 6f 77 20 61 |parisons| allow a|
|00002d00| 20 70 72 6f 67 72 61 6d | 20 74 6f 20 62 72 61 6e | program| to bran|
|00002d10| 63 68 20 6f 66 66 20 74 | 6f 20 64 69 66 66 65 72 |ch off t|o differ|
|00002d20| 65 6e 74 20 63 6f 64 65 | 0a 62 61 73 65 64 20 6f |ent code|.based o|
|00002d30| 6e 20 64 69 66 66 65 72 | 65 6e 74 20 63 6f 6e 64 |n differ|ent cond|
|00002d40| 69 74 69 6f 6e 73 2e 20 | 40 7b 22 20 43 6f 6d 70 |itions. |@{" Comp|
|00002d50| 61 72 69 73 6f 6e 20 6f | 70 65 72 61 74 6f 72 73 |arison o|perators|
|00002d60| 20 22 20 6c 69 6e 6b 20 | 41 52 78 5f 4f 70 65 72 | " link |ARx_Oper|
|00002d70| 61 74 6f 72 2e 61 67 2f | 43 4f 4d 50 41 52 49 53 |ator.ag/|COMPARIS|
|00002d80| 4f 4e 7d 20 67 69 76 65 | 20 41 52 65 78 78 20 74 |ON} give| ARexx t|
|00002d90| 68 65 0a 73 74 61 6e 64 | 61 72 64 20 74 6f 6f 6c |he.stand|ard tool|
|00002da0| 73 20 66 6f 72 20 6d 61 | 74 63 68 69 6e 67 20 73 |s for ma|tching s|
|00002db0| 74 72 69 6e 67 73 2c 20 | 62 75 74 20 74 68 65 73 |trings, |but thes|
|00002dc0| 65 20 66 75 6e 63 74 69 | 6f 6e 73 20 65 78 74 65 |e functi|ons exte|
|00002dd0| 6e 64 20 74 68 65 20 70 | 6f 77 65 72 0a 6f 66 20 |nd the p|ower.of |
|00002de0| 74 68 65 20 6f 70 65 72 | 61 74 6f 72 73 2c 20 61 |the oper|ators, a|
|00002df0| 6c 6c 6f 77 69 6e 67 20 | 71 75 69 63 6b 20 63 68 |llowing |quick ch|
|00002e00| 65 63 6b 73 20 66 6f 72 | 20 61 20 73 75 62 73 74 |ecks for| a subst|
|00002e10| 72 69 6e 67 20 28 77 68 | 61 74 20 40 7b 22 20 43 |ring (wh|at @{" C|
|00002e20| 6f 77 6c 69 73 68 61 77 | 20 22 20 6c 69 6e 6b 20 |owlishaw| " link |
|00002e30| 41 52 78 5f 49 6e 74 72 | 6f 2e 61 67 2f 52 45 46 |ARx_Intr|o.ag/REF|
|00002e40| 7d 0a 73 6f 20 65 6c 65 | 67 61 6e 74 6c 79 20 63 |}.so ele|gantly c|
|00002e50| 61 6c 6c 73 20 61 20 27 | 6e 65 65 64 6c 65 27 29 |alls a '|needle')|
|00002e60| 20 69 6e 20 61 20 73 74 | 72 69 6e 67 20 28 74 68 | in a st|ring (th|
|00002e70| 65 20 27 68 61 79 73 74 | 61 63 6b 27 29 2c 20 6f |e 'hayst|ack'), o|
|00002e80| 72 20 66 6f 72 20 61 20 | 77 6f 72 64 0a 6f 66 20 |r for a |word.of |
|00002e90| 70 68 72 61 73 65 20 77 | 69 74 68 69 6e 20 61 20 |phrase w|ithin a |
|00002ea0| 73 74 72 69 6e 67 20 6f | 66 20 77 6f 72 64 73 2e |string o|f words.|
|00002eb0| 0a 0a 4e 65 78 74 3a 20 | 53 74 72 69 6e 67 20 66 |..Next: |String f|
|00002ec0| 75 6e 63 74 69 6f 6e 73 | 20 7c 20 50 72 65 76 3a |unctions| | Prev:|
|00002ed0| 20 42 49 54 58 4f 52 28 | 29 20 7c 20 43 6f 6e 74 | BITXOR(|) | Cont|
|00002ee0| 65 6e 74 73 3a 20 46 75 | 6e 63 74 69 6f 6e 20 72 |ents: Fu|nction r|
|00002ef0| 65 66 65 72 65 6e 63 65 | 0a 0a 40 45 6e 64 4e 6f |eference|..@EndNo|
|00002f00| 64 65 0a 40 4e 6f 64 65 | 20 41 42 42 52 45 56 28 |de.@Node| ABBREV(|
|00002f10| 29 20 22 41 52 65 78 78 | 47 75 69 64 65 20 7c 20 |) "ARexx|Guide | |
|00002f20| 46 75 6e 63 74 69 6f 6e | 73 20 72 65 66 65 72 65 |Function|s refere|
|00002f30| 6e 63 65 20 7c 20 43 6f | 6d 70 61 72 69 73 6f 6e |nce | Co|mparison|
|00002f40| 20 28 31 20 6f 66 20 37 | 29 20 7c 20 41 42 42 52 | (1 of 7|) | ABBR|
|00002f50| 45 56 22 0a 40 54 4f 43 | 20 43 4d 50 52 4c 49 53 |EV".@TOC| CMPRLIS|
|00002f60| 54 0a 40 50 72 65 76 20 | 43 4d 50 52 4c 49 53 54 |T.@Prev |CMPRLIST|
|00002f70| 0a 41 42 42 52 45 56 28 | 3c 6c 6f 6e 67 73 74 72 |.ABBREV(|<longstr|
|00002f80| 69 6e 67 3e 2c 3c 73 68 | 6f 72 74 73 74 72 69 6e |ing>,<sh|ortstrin|
|00002f90| 67 3e 2c 5b 3c 6c 65 6e | 67 74 68 3e 5d 29 0a 20 |g>,[<len|gth>]). |
|00002fa0| 20 20 20 20 20 72 65 74 | 75 72 6e 73 20 62 6f 6f | ret|urns boo|
|00002fb0| 6c 65 61 6e 20 76 61 6c | 75 65 0a 0a 52 65 74 75 |lean val|ue..Retu|
|00002fc0| 72 6e 73 20 31 20 69 66 | 20 3c 73 68 6f 72 74 73 |rns 1 if| <shorts|
|00002fd0| 74 72 69 6e 67 3e 20 69 | 73 20 65 71 75 61 6c 20 |tring> i|s equal |
|00002fe0| 74 6f 20 74 68 65 20 6c | 65 61 64 69 6e 67 20 63 |to the l|eading c|
|00002ff0| 68 61 72 61 63 74 65 72 | 73 20 6f 66 0a 3c 6c 6f |haracter|s of.<lo|
|00003000| 6e 67 73 74 72 69 6e 67 | 3e 2e 20 49 66 20 3c 6c |ngstring|>. If <l|
|00003010| 65 6e 67 74 68 3e 20 69 | 73 20 73 70 65 63 69 66 |ength> i|s specif|
|00003020| 69 65 64 2c 20 74 68 65 | 6e 20 3c 73 68 6f 72 74 |ied, the|n <short|
|00003030| 73 74 72 69 6e 67 3e 20 | 6d 75 73 74 20 61 6c 73 |string> |must als|
|00003040| 6f 20 62 65 20 61 74 0a | 6c 65 61 73 74 20 74 68 |o be at.|least th|
|00003050| 61 74 20 6c 6f 6e 67 2e | 20 54 68 65 20 63 6f 6d |at long.| The com|
|00003060| 70 61 72 69 73 6f 6e 20 | 69 73 20 63 61 73 65 2d |parison |is case-|
|00003070| 73 65 6e 73 69 74 69 76 | 65 2e 20 49 66 20 3c 6c |sensitiv|e. If <l|
|00003080| 65 6e 67 74 68 3e 20 69 | 73 20 6e 6f 74 0a 73 70 |ength> i|s not.sp|
|00003090| 65 63 69 66 69 65 64 2c | 20 61 6e 20 65 6d 70 74 |ecified,| an empt|
|000030a0| 79 20 73 74 72 69 6e 67 | 20 77 69 6c 6c 20 61 6c |y string| will al|
|000030b0| 77 61 79 73 20 6d 61 74 | 63 68 20 3c 6c 6f 6e 67 |ways mat|ch <long|
|000030c0| 73 74 72 69 6e 67 3e 2e | 0a 0a 20 20 20 20 20 20 |string>.|.. |
|000030d0| 52 65 74 75 72 6e 73 20 | 30 20 69 66 20 65 69 74 |Returns |0 if eit|
|000030e0| 68 65 72 20 63 6f 6e 64 | 69 74 69 6f 6e 20 69 73 |her cond|ition is|
|000030f0| 20 6e 6f 74 20 6d 65 74 | 2e 0a 0a 20 20 20 45 78 | not met|... Ex|
|00003100| 61 6d 70 6c 65 73 3a 0a | 20 20 20 20 20 20 20 20 |amples:.| |
|00003110| 20 73 61 79 20 61 62 62 | 72 65 76 28 27 57 61 6c | say abb|rev('Wal|
|00003120| 64 6f 72 66 27 2c 27 57 | 61 6c 64 6f 27 29 3b 20 |dorf','W|aldo'); |
|00003130| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 3e 3e 3e | | >>>|
|00003140| 20 31 0a 20 20 20 20 20 | 20 20 20 20 73 61 79 20 | 1. | say |
|00003150| 61 62 62 72 65 76 28 27 | 57 61 6c 64 6f 72 66 27 |abbrev('|Waldorf'|
|00003160| 2c 27 57 41 4c 44 4f 27 | 29 3b 20 20 20 20 20 20 |,'WALDO'|); |
|00003170| 20 20 20 20 20 20 20 20 | 3e 3e 3e 20 30 0a 20 20 | |>>> 0. |
|00003180| 20 20 20 20 20 20 20 73 | 61 79 20 61 62 62 72 65 | s|ay abbre|
|00003190| 76 28 40 7b 22 20 75 70 | 70 65 72 28 27 57 61 6c |v(@{" up|per('Wal|
|000031a0| 64 6f 72 66 27 29 20 22 | 6c 69 6e 6b 20 55 50 50 |dorf') "|link UPP|
|000031b0| 45 52 28 29 7d 2c 20 27 | 57 41 4c 44 4f 27 29 3b |ER()}, '|WALDO');|
|000031c0| 20 20 20 20 3e 3e 3e 20 | 31 0a 0a 20 20 20 41 6c | >>> |1.. Al|
|000031d0| 73 6f 20 73 65 65 20 40 | 7b 20 22 20 43 4f 4d 50 |so see @|{ " COMP|
|000031e0| 41 52 45 20 20 20 20 20 | 20 20 22 20 6c 69 6e 6b |ARE | " link|
|000031f0| 20 43 4f 4d 50 41 52 45 | 28 29 7d 0a 20 20 20 20 | COMPARE|()}. |
|00003200| 20 20 20 20 20 20 20 20 | 40 7b 20 22 20 4c 45 46 | |@{ " LEF|
|00003210| 54 20 20 20 20 20 20 20 | 20 20 20 22 20 6c 69 6e |T | " lin|
|00003220| 6b 20 4c 45 46 54 28 29 | 7d 0a 0a 4e 65 78 74 3a |k LEFT()|}..Next:|
|00003230| 20 43 4f 4d 50 41 52 45 | 28 29 20 7c 20 50 72 65 | COMPARE|() | Pre|
|00003240| 76 3a 20 43 6f 6d 70 61 | 72 69 73 6f 6e 20 66 75 |v: Compa|rison fu|
|00003250| 6e 63 2e 20 7c 20 43 6f | 6e 74 65 6e 74 73 3a 20 |nc. | Co|ntents: |
|00003260| 43 6f 6d 70 61 72 69 73 | 6f 6e 20 66 75 6e 63 2e |Comparis|on func.|
|00003270| 0a 0a 40 45 6e 64 4e 6f | 64 65 0a 40 4e 6f 64 65 |..@EndNo|de.@Node|
|00003280| 20 43 4f 4d 50 41 52 45 | 28 29 20 22 41 52 65 78 | COMPARE|() "ARex|
|00003290| 78 47 75 69 64 65 20 7c | 20 46 75 6e 63 74 69 6f |xGuide || Functio|
|000032a0| 6e 73 20 72 65 66 65 72 | 65 6e 63 65 20 7c 20 43 |ns refer|ence | C|
|000032b0| 6f 6d 70 61 72 69 73 6f | 6e 20 28 32 20 6f 66 20 |ompariso|n (2 of |
|000032c0| 37 29 20 7c 20 43 4f 4d | 50 41 52 45 22 0a 40 54 |7) | COM|PARE".@T|
|000032d0| 4f 43 20 43 4d 50 52 4c | 49 53 54 0a 43 4f 4d 50 |OC CMPRL|IST.COMP|
|000032e0| 41 52 45 28 3c 73 74 72 | 69 6e 67 31 3e 2c 3c 73 |ARE(<str|ing1>,<s|
|000032f0| 74 72 69 6e 67 32 3e 2c | 5b 3c 70 61 64 63 68 61 |tring2>,|[<padcha|
|00003300| 72 3e 5d 29 0a 20 20 20 | 20 20 20 72 65 74 75 72 |r>]). | retur|
|00003310| 6e 73 20 61 20 6e 75 6d | 62 65 72 0a 0a 54 68 65 |ns a num|ber..The|
|00003320| 20 72 65 73 75 6c 74 20 | 69 73 20 30 20 69 66 20 | result |is 0 if |
|00003330| 62 6f 74 68 20 73 74 72 | 69 6e 67 73 20 61 72 65 |both str|ings are|
|00003340| 20 69 64 65 6e 74 69 63 | 61 6c 2e 20 49 66 20 74 | identic|al. If t|
|00003350| 68 65 79 20 61 72 65 6e | 27 74 2c 20 74 68 65 20 |hey aren|'t, the |
|00003360| 6e 75 6d 62 65 72 0a 72 | 65 74 75 72 6e 65 64 20 |number.r|eturned |
|00003370| 69 73 20 74 68 65 20 70 | 6f 73 69 74 69 6f 6e 20 |is the p|osition |
|00003380| 6f 66 20 74 68 65 20 66 | 69 72 73 74 20 63 68 61 |of the f|irst cha|
|00003390| 72 61 63 74 65 72 20 77 | 68 65 72 65 20 74 68 65 |racter w|here the|
|000033a0| 20 73 74 72 69 6e 67 73 | 20 64 69 66 66 65 72 2e | strings| differ.|
|000033b0| 0a 54 68 65 20 73 68 6f | 72 74 65 72 20 73 74 72 |.The sho|rter str|
|000033c0| 69 6e 67 20 69 73 20 70 | 61 64 64 65 64 20 77 69 |ing is p|added wi|
|000033d0| 74 68 20 3c 70 61 64 63 | 68 61 72 3e 20 62 65 66 |th <padc|har> bef|
|000033e0| 6f 72 65 20 74 68 65 20 | 63 6f 6d 70 61 72 69 73 |ore the |comparis|
|000033f0| 6f 6e 2e 0a 0a 54 68 65 | 20 64 65 66 61 75 6c 74 |on...The| default|
|00003400| 20 70 61 64 20 63 68 61 | 72 61 63 74 65 72 20 69 | pad cha|racter i|
|00003410| 73 20 61 20 62 6c 61 6e | 6b 2e 0a 0a 20 20 20 45 |s a blan|k... E|
|00003420| 78 61 6d 70 6c 65 73 3a | 0a 0a 20 20 20 20 20 20 |xamples:|.. |
|00003430| 20 20 20 73 61 79 20 63 | 6f 6d 70 61 72 65 28 27 | say c|ompare('|
|00003440| 54 68 65 20 66 69 72 73 | 74 27 2c 27 54 68 65 20 |The firs|t','The |
|00003450| 6f 6e 6c 79 27 29 3b 20 | 20 20 20 20 20 3e 3e 3e |only'); | >>>|
|00003460| 20 35 0a 20 20 20 20 20 | 20 20 20 20 73 61 79 20 | 5. | say |
|00003470| 63 6f 6d 70 61 72 65 28 | 27 77 6f 72 6c 64 77 69 |compare(|'worldwi|
|00003480| 64 65 27 2c 27 77 6f 72 | 64 77 69 64 65 27 29 3b |de','wor|dwide');|
|00003490| 20 20 20 20 20 20 3e 3e | 3e 20 34 0a 20 20 20 20 | >>|> 4. |
|000034a0| 20 20 20 20 20 73 61 79 | 20 63 6f 6d 70 61 72 65 | say| compare|
|000034b0| 28 27 66 6f 6f 27 2c 27 | 66 27 29 3b 20 20 20 20 |('foo','|f'); |
|000034c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 3e | | >|
|000034d0| 3e 3e 20 32 0a 20 20 20 | 20 20 20 20 20 20 73 61 |>> 2. | sa|
|000034e0| 79 20 63 6f 6d 70 61 72 | 65 28 27 66 6f 6f 27 2c |y compar|e('foo',|
|000034f0| 27 66 27 2c 27 6f 27 29 | 3b 20 20 20 20 20 20 20 |'f','o')|; |
|00003500| 20 20 20 20 20 20 20 20 | 3e 3e 3e 20 30 0a 0a 20 | |>>> 0.. |
|00003510| 20 20 41 6c 73 6f 20 73 | 65 65 20 40 7b 20 22 20 | Also s|ee @{ " |
|00003520| 41 42 42 52 45 56 20 20 | 20 20 20 20 20 20 22 20 |ABBREV | " |
|00003530| 6c 69 6e 6b 20 41 42 42 | 52 45 56 28 29 7d 0a 20 |link ABB|REV()}. |
|00003540| 20 20 20 20 20 20 20 20 | 20 20 20 40 7b 20 22 20 | | @{ " |
|00003550| 56 45 52 49 46 59 20 20 | 20 20 20 20 20 20 22 20 |VERIFY | " |
|00003560| 6c 69 6e 6b 20 56 45 52 | 49 46 59 28 29 7d 0a 0a |link VER|IFY()}..|
|00003570| 4e 65 78 74 3a 20 46 49 | 4e 44 28 29 20 7c 20 50 |Next: FI|ND() | P|
|00003580| 72 65 76 3a 20 41 42 42 | 52 45 56 28 29 20 7c 20 |rev: ABB|REV() | |
|00003590| 43 6f 6e 74 65 6e 74 73 | 3a 20 43 6f 6d 70 61 72 |Contents|: Compar|
|000035a0| 69 73 6f 6e 20 66 75 6e | 63 74 69 6f 6e 73 0a 0a |ison fun|ctions..|
|000035b0| 40 45 6e 64 4e 6f 64 65 | 0a 40 4e 6f 64 65 20 46 |@EndNode|.@Node F|
|000035c0| 49 4e 44 28 29 20 22 41 | 52 65 78 78 47 75 69 64 |IND() "A|RexxGuid|
|000035d0| 65 20 7c 20 46 75 6e 63 | 74 69 6f 6e 73 20 72 65 |e | Func|tions re|
|000035e0| 66 65 72 65 6e 63 65 20 | 7c 20 43 6f 6d 70 61 72 |ference || Compar|
|000035f0| 69 73 6f 6e 20 28 33 20 | 6f 66 20 37 29 20 7c 20 |ison (3 |of 7) | |
|00003600| 46 49 4e 44 22 0a 40 54 | 4f 43 20 43 4d 50 52 4c |FIND".@T|OC CMPRL|
|00003610| 49 53 54 0a 46 49 4e 44 | 28 3c 68 61 79 73 74 61 |IST.FIND|(<haysta|
|00003620| 63 6b 3e 2c 20 3c 6e 65 | 65 64 6c 65 3e 29 0a 20 |ck>, <ne|edle>). |
|00003630| 20 20 20 20 20 72 65 74 | 75 72 6e 73 20 61 20 6e | ret|urns a n|
|00003640| 75 6d 62 65 72 0a 0a 4c | 6f 63 61 74 65 73 20 74 |umber..L|ocates t|
|00003650| 68 65 20 62 6c 61 6e 6b | 2d 64 65 6c 69 6d 69 74 |he blank|-delimit|
|00003660| 65 64 20 77 6f 72 64 20 | 6f 72 20 77 6f 72 64 73 |ed word |or words|
|00003670| 20 3c 6e 65 65 64 6c 65 | 3e 20 77 69 74 68 69 6e | <needle|> within|
|00003680| 20 74 68 65 20 73 74 72 | 69 6e 67 0a 3c 68 61 79 | the str|ing.<hay|
|00003690| 73 74 61 63 6b 3e 20 61 | 6e 64 20 72 65 74 75 72 |stack> a|nd retur|
|000036a0| 6e 73 20 74 68 65 20 77 | 6f 72 64 20 70 6f 73 69 |ns the w|ord posi|
|000036b0| 74 69 6f 6e 20 6f 66 20 | 74 68 65 20 66 69 72 73 |tion of |the firs|
|000036c0| 74 20 6d 61 74 63 68 2c | 20 6f 72 20 30 20 69 66 |t match,| or 0 if|
|000036d0| 20 74 68 65 72 65 0a 69 | 73 20 6e 6f 20 6d 61 74 | there.i|s no mat|
|000036e0| 63 68 2e 0a 0a 54 68 65 | 20 73 65 61 72 63 68 20 |ch...The| search |
|000036f0| 69 73 20 63 61 73 65 20 | 73 65 6e 73 69 74 69 76 |is case |sensitiv|
|00003700| 65 2e 0a 0a 20 20 20 45 | 78 61 6d 70 6c 65 73 3a |e... E|xamples:|
|00003710| 0a 20 20 20 20 20 20 20 | 20 20 73 61 79 20 66 69 |. | say fi|
|00003720| 6e 64 28 27 54 69 65 64 | 20 74 6f 20 47 6f 64 6f |nd('Tied| to Godo|
|00003730| 74 3f 27 2c 27 64 6f 74 | 27 29 3b 20 20 20 20 20 |t?','dot|'); |
|00003740| 20 3e 3e 3e 20 30 0a 20 | 20 20 20 20 20 20 20 20 | >>> 0. | |
|00003750| 73 61 79 20 66 69 6e 64 | 28 27 54 69 65 64 20 74 |say find|('Tied t|
|00003760| 6f 20 47 6f 64 6f 74 3f | 27 2c 27 74 6f 27 29 3b |o Godot?|','to');|
|00003770| 20 20 20 20 20 20 20 3e | 3e 3e 20 32 0a 0a 20 20 | >|>> 2.. |
|00003780| 20 41 6c 73 6f 20 73 65 | 65 20 40 7b 20 22 20 49 | Also se|e @{ " I|
|00003790| 4e 44 45 58 20 20 20 20 | 20 20 20 20 20 22 20 6c |NDEX | " l|
|000037a0| 69 6e 6b 20 49 4e 44 45 | 58 28 29 7d 0a 20 20 20 |ink INDE|X()}. |
|000037b0| 20 20 20 20 20 20 20 20 | 20 40 7b 20 22 20 50 4f | | @{ " PO|
|000037c0| 53 20 20 20 20 20 20 20 | 20 20 20 20 22 20 6c 69 |S | " li|
|000037d0| 6e 6b 20 50 4f 53 28 29 | 7d 0a 20 20 20 20 20 20 |nk POS()|}. |
|000037e0| 20 20 20 20 20 20 40 7b | 20 22 20 57 4f 52 44 49 | @{| " WORDI|
|000037f0| 4e 44 45 58 20 20 20 20 | 20 22 20 6c 69 6e 6b 20 |NDEX | " link |
|00003800| 41 52 78 5f 46 75 6e 63 | 32 2e 61 67 2f 57 4f 52 |ARx_Func|2.ag/WOR|
|00003810| 44 49 4e 44 45 58 28 29 | 7d 0a 0a 49 6e 20 73 6f |DINDEX()|}..In so|
|00003820| 6d 65 20 69 6d 70 6c 65 | 6d 65 6e 74 61 74 69 6f |me imple|mentatio|
|00003830| 6e 73 20 6f 66 20 52 45 | 58 58 2c 20 74 68 69 73 |ns of RE|XX, this|
|00003840| 20 66 75 6e 63 74 69 6f | 6e 20 69 73 20 63 61 6c | functio|n is cal|
|00003850| 6c 65 64 20 57 4f 52 44 | 50 4f 53 28 29 20 61 6e |led WORD|POS() an|
|00003860| 64 0a 74 61 6b 65 73 20 | 61 72 67 75 6d 65 6e 74 |d.takes |argument|
|00003870| 73 20 69 6e 20 74 68 65 | 20 72 65 76 65 72 73 65 |s in the| reverse|
|00003880| 20 6f 72 64 65 72 2e 0a | 0a 4e 65 78 74 3a 20 49 | order..|.Next: I|
|00003890| 4e 44 45 58 28 29 20 7c | 20 50 72 65 76 3a 20 43 |NDEX() || Prev: C|
|000038a0| 4f 4d 50 41 52 45 28 29 | 20 7c 20 43 6f 6e 74 65 |OMPARE()| | Conte|
|000038b0| 6e 74 73 3a 20 43 6f 6d | 70 61 72 69 73 6f 6e 20 |nts: Com|parison |
|000038c0| 66 75 6e 63 74 69 6f 6e | 73 0a 0a 40 45 6e 64 4e |function|s..@EndN|
|000038d0| 6f 64 65 0a 40 4e 6f 64 | 65 20 49 4e 44 45 58 28 |ode.@Nod|e INDEX(|
|000038e0| 29 20 22 41 52 65 78 78 | 47 75 69 64 65 20 7c 20 |) "ARexx|Guide | |
|000038f0| 46 75 6e 63 74 69 6f 6e | 73 20 72 65 66 65 72 65 |Function|s refere|
|00003900| 6e 63 65 20 7c 20 43 6f | 6d 70 61 72 69 73 6f 6e |nce | Co|mparison|
|00003910| 20 28 34 20 6f 66 20 37 | 29 20 7c 20 49 4e 44 45 | (4 of 7|) | INDE|
|00003920| 58 22 0a 40 54 4f 43 20 | 43 4d 50 52 4c 49 53 54 |X".@TOC |CMPRLIST|
|00003930| 0a 49 4e 44 45 58 28 3c | 68 61 79 73 74 61 63 6b |.INDEX(<|haystack|
|00003940| 3e 2c 3c 6e 65 65 64 6c | 65 3e 2c 20 5b 3c 73 74 |>,<needl|e>, [<st|
|00003950| 61 72 74 70 6f 73 3e 5d | 29 0a 20 20 20 20 20 20 |artpos>]|). |
|00003960| 72 65 74 75 72 6e 73 20 | 61 20 6e 75 6d 62 65 72 |returns |a number|
|00003970| 0a 0a 54 68 65 20 72 65 | 73 75 6c 74 20 69 73 20 |..The re|sult is |
|00003980| 74 68 65 20 63 68 61 72 | 61 63 74 65 72 20 70 6f |the char|acter po|
|00003990| 73 69 74 69 6f 6e 20 77 | 69 74 68 69 6e 20 74 68 |sition w|ithin th|
|000039a0| 65 20 73 74 72 69 6e 67 | 20 3c 68 61 79 73 74 61 |e string| <haysta|
|000039b0| 63 6b 3e 20 6f 66 20 74 | 68 65 0a 74 68 65 20 66 |ck> of t|he.the f|
|000039c0| 69 72 73 74 20 6f 63 63 | 75 72 72 65 6e 63 65 20 |irst occ|urrence |
|000039d0| 6f 66 20 74 68 65 20 73 | 74 72 69 6e 67 20 3c 6e |of the s|tring <n|
|000039e0| 65 65 64 6c 65 3e 20 6f | 72 20 30 20 69 66 20 61 |eedle> o|r 0 if a|
|000039f0| 20 6d 61 74 63 68 20 69 | 73 6e 27 74 20 66 6f 75 | match i|sn't fou|
|00003a00| 6e 64 2e 0a 0a 49 66 20 | 3c 73 74 61 72 74 70 6f |nd...If |<startpo|
|00003a10| 73 3e 20 69 73 20 73 70 | 65 63 69 66 69 65 64 2c |s> is sp|ecified,|
|00003a20| 20 74 68 65 6e 20 74 68 | 65 20 73 65 61 72 63 68 | then th|e search|
|00003a30| 20 70 72 6f 63 65 65 64 | 73 20 66 72 6f 6d 20 74 | proceed|s from t|
|00003a40| 68 61 74 20 70 6f 73 69 | 74 69 6f 6e 20 69 6e 0a |hat posi|tion in.|
|00003a50| 3c 68 61 79 73 74 61 63 | 6b 3e 2e 0a 0a 54 68 65 |<haystac|k>...The|
|00003a60| 20 73 65 61 72 63 68 20 | 69 73 20 63 61 73 65 20 | search |is case |
|00003a70| 73 65 6e 73 69 74 69 76 | 65 2e 0a 0a 20 20 20 45 |sensitiv|e... E|
|00003a80| 78 61 6d 70 6c 65 73 3a | 0a 20 20 20 20 20 20 20 |xamples:|. |
|00003a90| 20 20 73 61 79 20 69 6e | 64 65 78 28 27 54 69 65 | say in|dex('Tie|
|00003aa0| 64 20 74 6f 20 47 6f 64 | 6f 74 3f 27 2c 27 64 6f |d to God|ot?','do|
|00003ab0| 74 27 29 3b 20 20 20 20 | 20 20 3e 3e 3e 20 31 31 |t'); | >>> 11|
|00003ac0| 0a 20 20 20 20 20 20 20 | 20 20 73 61 79 20 69 6e |. | say in|
|00003ad0| 64 65 78 28 27 54 69 65 | 64 20 74 6f 20 47 6f 64 |dex('Tie|d to God|
|00003ae0| 6f 74 3f 27 2c 27 74 6f | 27 29 3b 20 20 20 20 20 |ot?','to|'); |
|00003af0| 20 20 3e 3e 3e 20 36 0a | 0a 20 20 20 41 6c 73 6f | >>> 6.|. Also|
|00003b00| 20 73 65 65 20 40 7b 20 | 22 20 46 49 4e 44 20 20 | see @{ |" FIND |
|00003b10| 20 20 20 20 20 20 20 20 | 22 20 6c 69 6e 6b 20 46 | |" link F|
|00003b20| 49 4e 44 28 29 7d 0a 20 | 20 20 20 20 20 20 20 20 |IND()}. | |
|00003b30| 20 20 20 40 7b 20 22 20 | 50 4f 53 20 20 20 20 20 | @{ " |POS |
|00003b40| 20 20 20 20 20 20 22 20 | 6c 69 6e 6b 20 50 4f 53 | " |link POS|
|00003b50| 28 29 7d 0a 0a 4e 65 78 | 74 3a 20 4c 41 53 54 50 |()}..Nex|t: LASTP|
|00003b60| 4f 53 28 29 20 7c 20 50 | 72 65 76 3a 20 46 49 4e |OS() | P|rev: FIN|
|00003b70| 44 28 29 20 7c 20 43 6f | 6e 74 65 6e 74 73 3a 20 |D() | Co|ntents: |
|00003b80| 43 6f 6d 70 61 72 69 73 | 6f 6e 20 66 75 6e 63 74 |Comparis|on funct|
|00003b90| 69 6f 6e 73 0a 0a 40 45 | 6e 64 4e 6f 64 65 0a 40 |ions..@E|ndNode.@|
|00003ba0| 4e 6f 64 65 20 4c 41 53 | 54 50 4f 53 28 29 20 22 |Node LAS|TPOS() "|
|00003bb0| 41 52 65 78 78 47 75 69 | 64 65 20 7c 20 46 75 6e |ARexxGui|de | Fun|
|00003bc0| 63 74 69 6f 6e 73 20 72 | 65 66 65 72 65 6e 63 65 |ctions r|eference|
|00003bd0| 20 7c 20 43 6f 6d 70 61 | 72 69 73 6f 6e 20 28 35 | | Compa|rison (5|
|00003be0| 20 6f 66 20 37 29 20 7c | 20 4c 41 53 54 50 4f 53 | of 7) || LASTPOS|
|00003bf0| 22 0a 40 54 4f 43 20 43 | 4d 50 52 4c 49 53 54 0a |".@TOC C|MPRLIST.|
|00003c00| 4c 41 53 54 50 4f 53 28 | 3c 6e 65 65 64 6c 65 3e |LASTPOS(|<needle>|
|00003c10| 2c 3c 68 61 79 73 74 61 | 63 6b 3e 2c 5b 3c 73 74 |,<haysta|ck>,[<st|
|00003c20| 61 72 74 70 6f 73 3e 5d | 29 0a 20 20 20 20 20 20 |artpos>]|). |
|00003c30| 72 65 74 75 72 6e 73 20 | 61 20 6e 75 6d 62 65 72 |returns |a number|
|00003c40| 0a 0a 54 68 65 20 72 65 | 73 75 6c 74 20 69 73 20 |..The re|sult is |
|00003c50| 74 68 65 20 63 68 61 72 | 61 63 74 65 72 20 70 6f |the char|acter po|
|00003c60| 73 69 74 69 6f 6e 20 77 | 69 74 68 69 6e 20 74 68 |sition w|ithin th|
|00003c70| 65 20 73 74 72 69 6e 67 | 20 3c 68 61 79 73 74 61 |e string| <haysta|
|00003c80| 63 6b 3e 20 6f 66 20 74 | 68 65 0a 74 68 65 20 6c |ck> of t|he.the l|
|00003c90| 61 73 74 20 6f 63 63 75 | 72 72 65 6e 63 65 20 6f |ast occu|rrence o|
|00003ca0| 66 20 74 68 65 20 73 74 | 72 69 6e 67 20 3c 6e 65 |f the st|ring <ne|
|00003cb0| 65 64 6c 65 3e 20 6f 72 | 20 30 20 69 66 20 61 20 |edle> or| 0 if a |
|00003cc0| 6d 61 74 63 68 20 69 73 | 6e 27 74 20 66 6f 75 6e |match is|n't foun|
|00003cd0| 64 2e 0a 0a 49 66 20 3c | 73 74 61 72 74 70 6f 73 |d...If <|startpos|
|00003ce0| 3e 20 69 73 20 73 70 65 | 63 69 66 69 65 64 2c 20 |> is spe|cified, |
|00003cf0| 74 68 65 6e 20 74 68 65 | 20 73 65 61 72 63 68 20 |then the| search |
|00003d00| 70 72 6f 63 65 65 64 73 | 20 62 61 63 6b 77 61 72 |proceeds| backwar|
|00003d10| 64 73 20 66 72 6f 6d 20 | 74 68 61 74 0a 70 6f 73 |ds from |that.pos|
|00003d20| 69 74 69 6f 6e 20 69 6e | 20 3c 68 61 79 73 74 61 |ition in| <haysta|
|00003d30| 63 6b 3e 2e 0a 0a 20 20 | 20 45 78 61 6d 70 6c 65 |ck>... | Example|
|00003d40| 73 3a 0a 20 20 20 20 20 | 20 20 20 20 73 61 79 20 |s:. | say |
|00003d50| 6c 61 73 74 70 6f 73 28 | 27 65 61 6b 27 2c 27 67 |lastpos(|'eak','g|
|00003d60| 72 6f 77 69 6e 67 20 77 | 65 61 6b 65 72 20 61 6e |rowing w|eaker an|
|00003d70| 64 20 77 65 61 6b 65 72 | 27 29 3b 20 20 20 20 3e |d weaker|'); >|
|00003d80| 3e 3e 20 32 31 0a 20 20 | 20 20 20 20 20 20 20 73 |>> 21. | s|
|00003d90| 61 79 20 6c 61 73 74 70 | 6f 73 28 27 65 61 6b 27 |ay lastp|os('eak'|
|00003da0| 2c 27 67 72 6f 77 69 6e | 67 20 77 65 61 6b 65 72 |,'growin|g weaker|
|00003db0| 20 61 6e 64 20 77 65 61 | 6b 65 72 27 2c 32 30 29 | and wea|ker',20)|
|00003dc0| 3b 20 3e 3e 3e 20 31 30 | 0a 0a 20 20 20 41 6c 73 |; >>> 10|.. Als|
|00003dd0| 6f 20 73 65 65 20 40 7b | 20 22 20 50 4f 53 20 20 |o see @{| " POS |
|00003de0| 20 20 20 20 20 20 20 20 | 20 22 20 6c 69 6e 6b 20 | | " link |
|00003df0| 50 4f 53 28 29 7d 0a 20 | 20 20 20 20 20 20 20 20 |POS()}. | |
|00003e00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00003e10| 20 20 20 20 20 20 20 20 | 40 7b 22 20 4e 4f 54 45 | |@{" NOTE|
|00003e20| 3a 20 45 78 74 72 61 63 | 74 69 6e 67 20 66 69 6c |: Extrac|ting fil|
|00003e30| 65 20 6e 61 6d 65 73 20 | 20 20 20 20 20 20 22 20 |e names | " |
|00003e40| 61 6c 69 6e 6b 20 41 52 | 78 5f 4e 6f 74 65 73 2e |alink AR|x_Notes.|
|00003e50| 61 67 2f 46 49 4c 45 4e | 41 4d 45 7d 0a 0a 4e 65 |ag/FILEN|AME}..Ne|
|00003e60| 78 74 3a 20 50 4f 53 28 | 29 20 7c 20 50 72 65 76 |xt: POS(|) | Prev|
|00003e70| 3a 20 49 4e 44 45 58 28 | 29 20 7c 20 43 6f 6e 74 |: INDEX(|) | Cont|
|00003e80| 65 6e 74 73 3a 20 43 6f | 6d 70 61 72 69 73 6f 6e |ents: Co|mparison|
|00003e90| 20 66 75 6e 63 74 69 6f | 6e 73 0a 0a 40 45 6e 64 | functio|ns..@End|
|00003ea0| 4e 6f 64 65 0a 40 4e 6f | 64 65 20 50 4f 53 28 29 |Node.@No|de POS()|
|00003eb0| 20 22 41 52 65 78 78 47 | 75 69 64 65 20 7c 20 46 | "ARexxG|uide | F|
|00003ec0| 75 6e 63 74 69 6f 6e 73 | 20 72 65 66 65 72 65 6e |unctions| referen|
|00003ed0| 63 65 20 7c 20 43 6f 6d | 70 61 72 69 73 6f 6e 20 |ce | Com|parison |
|00003ee0| 28 36 20 6f 66 20 37 29 | 20 7c 20 50 4f 53 22 0a |(6 of 7)| | POS".|
|00003ef0| 40 54 4f 43 20 43 4d 50 | 52 4c 49 53 54 0a 50 4f |@TOC CMP|RLIST.PO|
|00003f00| 53 28 3c 6e 65 65 64 6c | 65 3e 2c 3c 68 61 79 73 |S(<needl|e>,<hays|
|00003f10| 74 61 63 6b 3e 2c 5b 3c | 73 74 61 72 74 70 6f 73 |tack>,[<|startpos|
|00003f20| 3e 5d 29 0a 20 20 20 20 | 20 20 72 65 74 75 72 6e |>]). | return|
|00003f30| 73 20 61 20 6e 75 6d 62 | 65 72 0a 0a 54 68 65 20 |s a numb|er..The |
|00003f40| 72 65 73 75 6c 74 20 69 | 73 20 74 68 65 20 63 68 |result i|s the ch|
|00003f50| 61 72 61 63 74 65 72 20 | 70 6f 73 69 74 69 6f 6e |aracter |position|
|00003f60| 20 77 69 74 68 69 6e 20 | 74 68 65 20 73 74 72 69 | within |the stri|
|00003f70| 6e 67 20 3c 68 61 79 73 | 74 61 63 6b 3e 20 6f 66 |ng <hays|tack> of|
|00003f80| 20 74 68 65 0a 74 68 65 | 20 66 69 72 73 74 20 6f | the.the| first o|
|00003f90| 63 63 75 72 72 65 6e 63 | 65 20 6f 66 20 74 68 65 |ccurrenc|e of the|
|00003fa0| 20 73 74 72 69 6e 67 20 | 3c 6e 65 65 64 6c 65 3e | string |<needle>|
|00003fb0| 20 6f 72 20 30 20 69 66 | 20 61 20 6d 61 74 63 68 | or 0 if| a match|
|00003fc0| 20 69 73 6e 27 74 20 66 | 6f 75 6e 64 2e 0a 0a 49 | isn't f|ound...I|
|00003fd0| 66 20 3c 73 74 61 72 74 | 70 6f 73 3e 20 69 73 20 |f <start|pos> is |
|00003fe0| 73 70 65 63 69 66 69 65 | 64 2c 20 74 68 65 6e 20 |specifie|d, then |
|00003ff0| 74 68 65 20 73 65 61 72 | 63 68 20 70 72 6f 63 65 |the sear|ch proce|
|00004000| 65 64 73 20 66 6f 72 77 | 61 72 64 20 66 72 6f 6d |eds forw|ard from|
|00004010| 20 74 68 61 74 0a 70 6f | 73 69 74 69 6f 6e 20 69 | that.po|sition i|
|00004020| 6e 20 3c 68 61 79 73 74 | 61 63 6b 3e 2e 0a 0a 54 |n <hayst|ack>...T|
|00004030| 68 65 20 73 65 61 72 63 | 68 20 69 73 20 63 61 73 |he searc|h is cas|
|00004040| 65 20 73 65 6e 73 69 74 | 69 76 65 2e 0a 0a 20 20 |e sensit|ive... |
|00004050| 20 45 78 61 6d 70 6c 65 | 73 3a 0a 20 20 20 20 20 | Example|s:. |
|00004060| 20 20 20 20 73 61 79 20 | 70 6f 73 28 27 65 61 6b | say |pos('eak|
|00004070| 27 2c 27 67 72 6f 77 69 | 6e 67 20 77 65 61 6b 65 |','growi|ng weake|
|00004080| 72 20 61 6e 64 20 77 65 | 61 6b 65 72 27 29 20 20 |r and we|aker') |
|00004090| 20 20 20 3e 3e 3e 20 31 | 30 0a 20 20 20 20 20 20 | >>> 1|0. |
|000040a0| 20 20 20 73 61 79 20 70 | 6f 73 28 27 65 61 6b 27 | say p|os('eak'|
|000040b0| 2c 27 67 72 6f 77 69 6e | 67 20 77 65 61 6b 65 72 |,'growin|g weaker|
|000040c0| 20 61 6e 64 20 77 65 61 | 6b 65 72 27 2c 31 31 29 | and wea|ker',11)|
|000040d0| 20 20 3e 3e 3e 20 32 31 | 0a 0a 20 20 20 41 6c 73 | >>> 21|.. Als|
|000040e0| 6f 20 73 65 65 20 40 7b | 20 22 20 4c 41 53 54 50 |o see @{| " LASTP|
|000040f0| 4f 53 20 20 20 20 20 20 | 20 22 20 6c 69 6e 6b 20 |OS | " link |
|00004100| 4c 41 53 54 50 4f 53 28 | 29 7d 0a 20 20 20 20 20 |LASTPOS(|)}. |
|00004110| 20 20 20 20 20 20 20 40 | 7b 20 22 20 56 45 52 49 | @|{ " VERI|
|00004120| 46 59 20 20 20 20 20 20 | 20 20 22 20 6c 69 6e 6b |FY | " link|
|00004130| 20 56 45 52 49 46 59 28 | 29 7d 0a 0a 4e 65 78 74 | VERIFY(|)}..Next|
|00004140| 3a 20 56 45 52 49 46 59 | 28 29 20 7c 20 50 72 65 |: VERIFY|() | Pre|
|00004150| 76 3a 20 4c 41 53 54 50 | 4f 53 28 29 20 7c 20 43 |v: LASTP|OS() | C|
|00004160| 6f 6e 74 65 6e 74 73 3a | 20 43 6f 6d 70 61 72 69 |ontents:| Compari|
|00004170| 73 6f 6e 20 66 75 6e 63 | 74 69 6f 6e 73 0a 0a 40 |son func|tions..@|
|00004180| 45 6e 64 4e 6f 64 65 0a | 40 4e 6f 64 65 20 56 45 |EndNode.|@Node VE|
|00004190| 52 49 46 59 28 29 20 22 | 41 52 65 78 78 47 75 69 |RIFY() "|ARexxGui|
|000041a0| 64 65 20 7c 20 46 75 6e | 63 74 69 6f 6e 73 20 72 |de | Fun|ctions r|
|000041b0| 65 66 65 72 65 6e 63 65 | 20 7c 20 43 6f 6d 70 61 |eference| | Compa|
|000041c0| 72 69 73 6f 6e 20 28 37 | 20 6f 66 20 37 29 20 7c |rison (7| of 7) ||
|000041d0| 20 56 45 52 49 46 59 22 | 0a 40 54 4f 43 20 43 4d | VERIFY"|.@TOC CM|
|000041e0| 50 52 4c 49 53 54 0a 40 | 4e 65 78 74 20 43 4d 50 |PRLIST.@|Next CMP|
|000041f0| 52 4c 49 53 54 0a 56 45 | 52 49 46 59 28 3c 73 74 |RLIST.VE|RIFY(<st|
|00004200| 72 69 6e 67 3e 2c 20 3c | 72 65 66 65 72 65 6e 63 |ring>, <|referenc|
|00004210| 65 3e 2c 20 5b 27 4d 41 | 54 43 48 27 5d 2c 20 5b |e>, ['MA|TCH'], [|
|00004220| 3c 73 74 61 72 74 70 6f | 73 3e 5d 29 0a 20 20 20 |<startpo|s>]). |
|00004230| 20 20 20 72 65 74 75 72 | 6e 73 20 61 20 6e 75 6d | retur|ns a num|
|00004240| 62 65 72 0a 0a 43 68 65 | 63 6b 73 20 66 6f 72 20 |ber..Che|cks for |
|00004250| 74 68 65 20 70 72 65 73 | 65 6e 63 65 20 69 6e 20 |the pres|ence in |
|00004260| 3c 73 74 72 69 6e 67 3e | 20 6f 66 20 61 6e 79 20 |<string>| of any |
|00004270| 63 68 61 72 61 63 74 65 | 72 73 20 74 68 61 74 20 |characte|rs that |
|00004280| 61 70 70 65 61 72 20 69 | 6e 0a 3c 72 65 66 65 72 |appear i|n.<refer|
|00004290| 65 6e 63 65 3e 20 2d 2d | 20 61 20 6c 69 73 74 20 |ence> --| a list |
|000042a0| 6f 66 20 63 68 61 72 61 | 63 74 65 72 73 20 77 68 |of chara|cters wh|
|000042b0| 69 63 68 20 6d 61 79 20 | 62 65 20 65 6e 74 65 72 |ich may |be enter|
|000042c0| 65 64 20 69 6e 20 61 6e | 79 20 6f 72 64 65 72 2e |ed in an|y order.|
|000042d0| 0a 0a 49 66 20 74 68 65 | 20 27 4d 41 54 43 48 27 |..If the| 'MATCH'|
|000042e0| 20 6f 70 74 69 6f 6e 20 | 69 73 20 6f 6d 69 74 74 | option |is omitt|
|000042f0| 65 64 2c 20 74 68 65 20 | 66 75 6e 63 74 69 6f 6e |ed, the |function|
|00004300| 73 20 72 65 74 75 72 6e | 73 20 30 20 77 68 65 6e |s return|s 0 when|
|00004310| 20 61 6c 6c 0a 63 68 61 | 72 61 63 74 65 72 73 20 | all.cha|racters |
|00004320| 69 6e 20 3c 73 74 72 69 | 6e 67 3e 20 61 72 65 20 |in <stri|ng> are |
|00004330| 63 6f 6e 74 61 69 6e 65 | 64 20 69 6e 20 3c 72 65 |containe|d in <re|
|00004340| 66 65 72 65 6e 63 65 3e | 2e 20 4f 74 68 65 72 77 |ference>|. Otherw|
|00004350| 69 73 65 2c 20 74 68 65 | 20 6e 75 6d 62 65 72 0a |ise, the| number.|
|00004360| 72 65 74 75 72 6e 65 64 | 20 69 73 20 74 68 65 20 |returned| is the |
|00004370| 70 6f 73 69 74 69 6f 6e | 20 6f 66 20 74 68 65 20 |position| of the |
|00004380| 66 69 72 73 74 20 63 68 | 61 72 61 63 74 65 72 20 |first ch|aracter |
|00004390| 69 6e 20 3c 73 74 72 69 | 6e 67 3e 20 74 68 61 74 |in <stri|ng> that|
|000043a0| 20 64 6f 65 73 20 6e 6f | 74 0a 6d 61 74 63 68 20 | does no|t.match |
|000043b0| 61 20 63 68 61 72 61 63 | 74 65 72 20 69 6e 20 3c |a charac|ter in <|
|000043c0| 72 65 66 65 72 65 6e 63 | 65 3e 2e 0a 0a 54 68 65 |referenc|e>...The|
|000043d0| 20 27 4d 27 20 28 6d 61 | 74 63 68 29 20 6f 70 74 | 'M' (ma|tch) opt|
|000043e0| 69 6f 6e 20 77 69 6c 6c | 20 63 61 75 73 65 20 74 |ion will| cause t|
|000043f0| 68 65 20 66 75 6e 63 74 | 69 6f 6e 20 74 6f 20 72 |he funct|ion to r|
|00004400| 65 74 75 72 6e 20 74 68 | 65 20 70 6f 73 69 74 69 |eturn th|e positi|
|00004410| 6f 6e 20 6f 66 0a 74 68 | 65 20 66 69 72 73 74 20 |on of.th|e first |
|00004420| 63 68 61 72 61 63 74 65 | 72 20 69 6e 20 3c 73 74 |characte|r in <st|
|00004430| 72 69 6e 67 3e 20 74 68 | 61 74 20 6d 61 74 63 68 |ring> th|at match|
|00004440| 65 73 20 61 20 63 68 61 | 72 61 63 74 65 72 20 69 |es a cha|racter i|
|00004450| 6e 20 3c 72 65 66 65 72 | 65 6e 63 65 3e 2e 0a 49 |n <refer|ence>..I|
|00004460| 74 20 72 65 74 75 72 6e | 73 20 30 20 69 66 20 6e |t return|s 0 if n|
|00004470| 6f 6e 65 20 6f 66 20 74 | 68 65 20 63 68 61 72 61 |one of t|he chara|
|00004480| 63 74 65 72 73 20 69 6e | 20 3c 73 74 72 69 6e 67 |cters in| <string|
|00004490| 3e 20 6d 61 74 63 68 20 | 61 20 63 68 61 72 61 63 |> match |a charac|
|000044a0| 74 65 72 20 69 6e 0a 3c | 72 65 66 65 72 65 6e 63 |ter in.<|referenc|
|000044b0| 65 3e 2e 20 49 74 20 63 | 61 6e 20 62 65 20 75 73 |e>. It c|an be us|
|000044c0| 65 64 20 74 6f 20 76 65 | 72 69 66 79 20 74 68 61 |ed to ve|rify tha|
|000044d0| 74 20 69 6e 76 61 6c 69 | 64 20 63 68 61 72 61 63 |t invali|d charac|
|000044e0| 74 65 72 73 20 61 72 65 | 20 6e 6f 74 20 75 73 65 |ters are| not use|
|000044f0| 64 0a 69 6e 20 3c 73 74 | 72 69 6e 67 3e 20 6f 72 |d.in <st|ring> or|
|00004500| 20 74 6f 20 63 68 65 63 | 6b 20 66 6f 72 20 74 68 | to chec|k for th|
|00004510| 65 20 70 6f 73 69 74 69 | 6f 6e 20 6f 66 20 74 68 |e positi|on of th|
|00004520| 65 20 66 69 72 73 74 20 | 6f 66 20 61 20 72 61 6e |e first |of a ran|
|00004530| 67 65 20 6f 66 0a 63 68 | 61 72 61 63 74 65 72 73 |ge of.ch|aracters|
|00004540| 2e 0a 0a 49 66 20 3c 73 | 74 61 72 74 70 6f 73 3e |...If <s|tartpos>|
|00004550| 20 69 73 20 73 70 65 63 | 69 66 69 65 64 2c 20 74 | is spec|ified, t|
|00004560| 68 65 20 73 65 61 72 63 | 68 20 77 69 6c 6c 20 62 |he searc|h will b|
|00004570| 65 67 69 6e 20 61 74 20 | 74 68 61 74 20 63 68 61 |egin at |that cha|
|00004580| 72 61 63 74 65 72 0a 70 | 6f 73 69 74 69 6f 6e 20 |racter.p|osition |
|00004590| 69 6e 20 3c 73 74 72 69 | 6e 67 3e 2e 0a 0a 20 20 |in <stri|ng>... |
|000045a0| 20 45 78 61 6d 70 6c 65 | 73 3a 0a 20 20 20 20 20 | Example|s:. |
|000045b0| 20 20 20 20 73 61 79 20 | 76 65 72 69 66 79 28 27 | say |verify('|
|000045c0| 23 37 38 39 2d 41 42 44 | 27 2c 20 27 31 32 33 34 |#789-ABD|', '1234|
|000045d0| 35 36 37 38 39 30 41 42 | 43 44 2d 23 27 29 20 20 |567890AB|CD-#') |
|000045e0| 20 3e 3e 3e 20 30 0a 20 | 20 20 20 20 20 20 20 20 | >>> 0. | |
|000045f0| 73 61 79 20 76 65 72 69 | 66 79 28 27 23 34 33 32 |say veri|fy('#432|
|00004600| 2d 63 66 6f 27 2c 20 27 | 31 32 33 34 35 36 37 38 |-cfo', '|12345678|
|00004610| 39 30 41 42 43 44 2d 23 | 27 29 20 20 20 3e 3e 3e |90ABCD-#|') >>>|
|00004620| 20 36 0a 20 20 20 20 20 | 20 20 20 20 73 61 79 20 | 6. | say |
|00004630| 76 65 72 69 66 79 28 27 | 46 69 6c 65 4e 61 6d 65 |verify('|FileName|
|00004640| 27 2c 20 27 3a 3b 2a 2f | 3f 60 23 25 27 2c 20 27 |', ':;*/|?`#%', '|
|00004650| 6d 27 29 20 20 20 20 20 | 20 3e 3e 3e 20 30 0a 20 |m') | >>> 0. |
|00004660| 20 20 20 20 20 20 20 20 | 73 61 79 20 76 65 72 69 | |say veri|
|00004670| 66 79 28 27 46 69 6c 65 | 2a 4e 41 4d 45 27 2c 20 |fy('File|*NAME', |
|00004680| 27 3a 3b 2a 2f 3f 60 23 | 25 27 2c 20 27 6d 27 29 |':;*/?`#|%', 'm')|
|00004690| 20 20 20 20 20 3e 3e 3e | 20 35 0a 20 20 20 20 20 | >>>| 5. |
|000046a0| 20 20 20 20 73 61 79 20 | 76 65 72 69 66 79 28 27 | say |verify('|
|000046b0| 46 69 6c 65 2a 4e 41 4d | 45 27 2c 20 27 3a 3b 2a |File*NAM|E', ':;*|
|000046c0| 2f 3f 60 23 25 27 2c 20 | 27 6d 27 2c 36 29 20 20 |/?`#%', |'m',6) |
|000046d0| 20 3e 3e 3e 20 30 0a 20 | 20 20 20 20 20 20 20 20 | >>> 0. | |
|000046e0| 73 61 79 20 76 65 72 69 | 66 79 28 27 74 3a 66 6f |say veri|fy('t:fo|
|000046f0| 6f 2f 66 69 6c 65 27 2c | 20 27 3a 2f 27 2c 20 27 |o/file',| ':/', '|
|00004700| 6d 27 29 20 20 20 20 20 | 20 20 20 20 20 3e 3e 3e |m') | >>>|
|00004710| 20 32 0a 0a 20 20 20 41 | 6c 73 6f 20 73 65 65 20 | 2.. A|lso see |
|00004720| 40 7b 20 22 20 44 41 54 | 41 54 59 50 45 20 20 20 |@{ " DAT|ATYPE |
|00004730| 20 20 20 22 20 6c 69 6e | 6b 20 41 52 78 5f 46 75 | " lin|k ARx_Fu|
|00004740| 6e 63 33 2e 61 67 2f 44 | 41 54 41 54 59 50 45 28 |nc3.ag/D|ATATYPE(|
|00004750| 29 7d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 40 |)}. | @|
|00004760| 7b 20 22 20 50 4f 53 20 | 20 20 20 20 20 20 20 20 |{ " POS | |
|00004770| 20 20 22 20 6c 69 6e 6b | 20 50 4f 53 28 29 7d 0a | " link| POS()}.|
|00004780| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00004790| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000047a0| 20 20 40 7b 22 20 4e 4f | 54 45 3a 20 43 68 65 63 | @{" NO|TE: Chec|
|000047b0| 6b 69 6e 67 20 75 6e 69 | 71 75 65 20 64 61 74 61 |king uni|que data|
|000047c0| 74 79 70 65 73 20 20 20 | 22 20 61 6c 69 6e 6b 20 |types |" alink |
|000047d0| 41 52 78 5f 4e 6f 74 65 | 73 2e 61 67 2f 56 45 52 |ARx_Note|s.ag/VER|
|000047e0| 49 46 59 4e 4f 54 45 7d | 0a 0a 4e 65 78 74 3a 20 |IFYNOTE}|..Next: |
|000047f0| 43 6f 6d 70 61 72 69 73 | 6f 6e 20 66 75 6e 63 74 |Comparis|on funct|
|00004800| 69 6f 6e 73 20 7c 20 50 | 72 65 76 3a 20 50 4f 53 |ions | P|rev: POS|
|00004810| 28 29 20 7c 20 43 6f 6e | 74 65 6e 74 73 3a 20 43 |() | Con|tents: C|
|00004820| 6f 6d 70 61 72 69 73 6f | 6e 20 66 75 6e 63 74 69 |ompariso|n functi|
|00004830| 6f 6e 73 0a 0a 40 45 6e | 64 4e 6f 64 65 0a 0a 40 |ons..@En|dNode..@|
|00004840| 4e 6f 64 65 20 53 54 52 | 4c 49 53 54 20 20 22 41 |Node STR|LIST "A|
|00004850| 52 65 78 78 47 75 69 64 | 65 20 7c 20 46 75 6e 63 |RexxGuid|e | Func|
|00004860| 74 69 6f 6e 73 20 72 65 | 66 65 72 65 6e 63 65 20 |tions re|ference |
|00004870| 28 32 20 6f 66 20 31 32 | 29 20 7c 20 53 54 52 49 |(2 of 12|) | STRI|
|00004880| 4e 47 20 4d 41 4e 49 50 | 55 4c 41 54 49 4f 4e 22 |NG MANIP|ULATION"|
|00004890| 0a 40 50 52 45 56 20 43 | 4d 50 52 4c 49 53 54 0a |.@PREV C|MPRLIST.|
|000048a0| 40 4e 45 58 54 20 41 52 | 78 5f 46 75 6e 63 32 2e |@NEXT AR|x_Func2.|
|000048b0| 61 67 2f 57 4f 52 44 4c | 49 53 54 0a 20 20 20 40 |ag/WORDL|IST. @|
|000048c0| 7b 22 20 43 45 4e 54 45 | 52 20 20 20 20 22 20 6c |{" CENTE|R " l|
|000048d0| 69 6e 6b 20 43 45 4e 54 | 45 52 28 29 7d 28 3c 73 |ink CENT|ER()}(<s|
|000048e0| 74 72 69 6e 67 3e 2c 3c | 6c 65 6e 67 74 68 3e 2c |tring>,<|length>,|
|000048f0| 5b 3c 70 61 64 63 68 61 | 72 3e 5d 29 0a 20 20 20 |[<padcha|r>]). |
|00004900| 40 7b 22 20 43 4f 4d 50 | 52 45 53 53 20 20 22 20 |@{" COMP|RESS " |
|00004910| 6c 69 6e 6b 20 43 4f 4d | 50 52 45 53 53 28 29 7d |link COM|PRESS()}|
|00004920| 28 3c 73 74 72 69 6e 67 | 3e 2c 20 5b 3c 6c 69 73 |(<string|>, [<lis|
|00004930| 74 3e 5d 29 0a 20 20 20 | 40 7b 22 20 43 4f 50 49 |t>]). |@{" COPI|
|00004940| 45 53 20 20 20 20 22 20 | 6c 69 6e 6b 20 43 4f 50 |ES " |link COP|
|00004950| 49 45 53 28 29 7d 28 3c | 73 74 72 69 6e 67 3e 2c |IES()}(<|string>,|
|00004960| 3c 6e 75 6d 62 65 72 3e | 29 0a 20 20 20 40 7b 22 |<number>|). @{"|
|00004970| 20 44 45 4c 53 54 52 20 | 20 20 20 22 20 6c 69 6e | DELSTR | " lin|
|00004980| 6b 20 44 45 4c 53 54 52 | 28 29 7d 28 3c 73 74 72 |k DELSTR|()}(<str|
|00004990| 69 6e 67 3e 2c 3c 6e 75 | 6d 62 65 72 3e 2c 20 5b |ing>,<nu|mber>, [|
|000049a0| 3c 6c 65 6e 67 74 68 3e | 5d 29 0a 20 20 20 40 7b |<length>|]). @{|
|000049b0| 22 20 49 4e 53 45 52 54 | 20 20 20 20 22 20 6c 69 |" INSERT| " li|
|000049c0| 6e 6b 20 49 4e 53 45 52 | 54 28 29 7d 28 3c 6e 65 |nk INSER|T()}(<ne|
|000049d0| 77 20 73 74 72 69 6e 67 | 3e 2c 20 3c 6f 6c 64 20 |w string|>, <old |
|000049e0| 73 74 72 69 6e 67 3e 2c | 3c 73 74 61 72 74 70 6f |string>,|<startpo|
|000049f0| 73 3e 2c 20 5b 3c 6c 65 | 6e 67 74 68 3e 5d 2c 5b |s>, [<le|ngth>],[|
|00004a00| 3c 70 61 64 63 68 61 72 | 3e 5d 29 0a 20 20 20 40 |<padchar|>]). @|
|00004a10| 7b 22 20 4c 45 46 54 20 | 20 20 20 20 20 22 20 6c |{" LEFT | " l|
|00004a20| 69 6e 6b 20 4c 45 46 54 | 28 29 7d 28 3c 73 74 72 |ink LEFT|()}(<str|
|00004a30| 69 6e 67 3e 2c 3c 6c 65 | 6e 67 74 68 3e 2c 5b 3c |ing>,<le|ngth>,[<|
|00004a40| 70 61 64 63 68 61 72 3e | 5d 29 0a 20 20 20 40 7b |padchar>|]). @{|
|00004a50| 22 20 4c 45 4e 47 54 48 | 20 20 20 20 22 20 6c 69 |" LENGTH| " li|
|00004a60| 6e 6b 20 4c 45 4e 47 54 | 48 28 29 7d 28 3c 73 74 |nk LENGT|H()}(<st|
|00004a70| 72 69 6e 67 3e 29 0a 20 | 20 20 40 7b 22 20 4f 56 |ring>). | @{" OV|
|00004a80| 45 52 4c 41 59 20 20 20 | 22 20 6c 69 6e 6b 20 4f |ERLAY |" link O|
|00004a90| 56 45 52 4c 41 59 28 29 | 7d 28 3c 6e 65 77 20 73 |VERLAY()|}(<new s|
|00004aa0| 74 72 69 6e 67 3e 2c 20 | 3c 6f 6c 64 20 73 74 72 |tring>, |<old str|
|00004ab0| 69 6e 67 3e 2c 5b 3c 73 | 74 61 72 74 70 6f 73 3e |ing>,[<s|tartpos>|
|00004ac0| 5d 2c 20 5b 3c 6c 65 6e | 67 74 68 3e 5d 2c 5b 3c |], [<len|gth>],[<|
|00004ad0| 70 61 64 63 68 61 72 3e | 5d 29 0a 20 20 20 40 7b |padchar>|]). @{|
|00004ae0| 22 20 52 45 56 45 52 53 | 45 20 20 20 22 20 6c 69 |" REVERS|E " li|
|00004af0| 6e 6b 20 52 45 56 45 52 | 53 45 28 29 7d 28 3c 73 |nk REVER|SE()}(<s|
|00004b00| 74 72 69 6e 67 3e 29 0a | 20 20 20 40 7b 22 20 52 |tring>).| @{" R|
|00004b10| 49 47 48 54 20 20 20 20 | 20 22 20 6c 69 6e 6b 20 |IGHT | " link |
|00004b20| 52 49 47 48 54 28 29 7d | 28 3c 73 74 72 69 6e 67 |RIGHT()}|(<string|
|00004b30| 3e 2c 3c 6c 65 6e 67 74 | 68 3e 2c 5b 3c 70 61 64 |>,<lengt|h>,[<pad|
|00004b40| 63 68 61 72 3e 5d 29 0a | 20 20 20 40 7b 22 20 53 |char>]).| @{" S|
|00004b50| 54 52 49 50 20 20 20 20 | 20 22 20 6c 69 6e 6b 20 |TRIP | " link |
|00004b60| 53 54 52 49 50 28 29 7d | 28 3c 73 74 72 69 6e 67 |STRIP()}|(<string|
|00004b70| 3e 2c 20 5b 7b 27 42 27 | 7c 27 4c 27 7c 27 54 27 |>, [{'B'||'L'|'T'|
|00004b80| 7d 5d 2c 20 5b 3c 6c 69 | 73 74 3e 5d 29 0a 20 20 |}], [<li|st>]). |
|00004b90| 20 40 7b 22 20 53 55 42 | 53 54 52 20 20 20 20 22 | @{" SUB|STR "|
|00004ba0| 20 6c 69 6e 6b 20 53 55 | 42 53 54 52 28 29 7d 28 | link SU|BSTR()}(|
|00004bb0| 3c 73 74 72 69 6e 67 3e | 2c 20 3c 73 74 61 72 74 |<string>|, <start|
|00004bc0| 70 6f 73 3e 2c 20 5b 3c | 6c 65 6e 67 74 68 3e 5d |pos>, [<|length>]|
|00004bd0| 2c 5b 3c 70 61 64 63 68 | 61 72 3e 5d 29 0a 20 20 |,[<padch|ar>]). |
|00004be0| 20 40 7b 22 20 54 52 41 | 4e 53 4c 41 54 45 20 22 | @{" TRA|NSLATE "|
|00004bf0| 20 6c 69 6e 6b 20 54 52 | 41 4e 53 4c 41 54 45 28 | link TR|ANSLATE(|
|00004c00| 29 7d 28 3c 73 74 72 69 | 6e 67 3e 2c 5b 3c 6f 75 |)}(<stri|ng>,[<ou|
|00004c10| 74 70 75 74 20 74 61 62 | 6c 65 3e 5d 2c 20 5b 3c |tput tab|le>], [<|
|00004c20| 69 6e 70 75 74 20 74 61 | 62 6c 65 3e 5d 2c 5b 3c |input ta|ble>],[<|
|00004c30| 70 61 64 63 68 61 72 3e | 5d 29 0a 20 20 20 40 7b |padchar>|]). @{|
|00004c40| 22 20 54 52 49 4d 20 20 | 20 20 20 20 22 20 6c 69 |" TRIM | " li|
|00004c50| 6e 6b 20 54 52 49 4d 28 | 29 7d 28 3c 73 74 72 69 |nk TRIM(|)}(<stri|
|00004c60| 6e 67 3e 29 0a 20 20 20 | 40 7b 22 20 55 50 50 45 |ng>). |@{" UPPE|
|00004c70| 52 20 20 20 20 20 22 20 | 6c 69 6e 6b 20 55 50 50 |R " |link UPP|
|00004c80| 45 52 28 29 7d 28 3c 73 | 74 72 69 6e 67 3e 29 0a |ER()}(<s|tring>).|
|00004c90| 20 20 20 40 7b 22 20 58 | 52 41 4e 47 45 20 20 20 | @{" X|RANGE |
|00004ca0| 20 22 20 6c 69 6e 6b 20 | 58 52 41 4e 47 45 28 29 | " link |XRANGE()|
|00004cb0| 7d 28 5b 3c 73 74 61 72 | 74 3e 2c 20 5b 3c 65 6e |}([<star|t>, [<en|
|00004cc0| 64 3e 5d 29 0a 0a 20 20 | 20 20 20 20 20 20 20 20 |d>]).. | |
|00004cd0| 20 20 20 20 20 20 20 20 | 20 20 20 41 6c 73 6f 20 | | Also |
|00004ce0| 73 65 65 20 40 7b 22 20 | 57 6f 72 64 20 6d 61 6e |see @{" |Word man|
|00004cf0| 69 70 75 6c 61 74 69 6f | 6e 20 66 75 6e 63 74 69 |ipulatio|n functi|
|00004d00| 6f 6e 73 20 20 22 20 6c | 69 6e 6b 20 41 52 78 5f |ons " l|ink ARx_|
|00004d10| 46 75 6e 63 32 2e 61 67 | 2f 57 4f 52 44 4c 49 53 |Func2.ag|/WORDLIS|
|00004d20| 54 7d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |T}. | |
|00004d30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004d40| 20 40 7b 22 20 4e 75 6d | 62 65 72 20 6d 61 6e 69 | @{" Num|ber mani|
|00004d50| 70 75 6c 61 74 69 6f 6e | 20 66 75 6e 63 74 69 6f |pulation| functio|
|00004d60| 6e 73 22 20 6c 69 6e 6b | 20 41 52 78 5f 46 75 6e |ns" link| ARx_Fun|
|00004d70| 63 32 2e 61 67 2f 4e 55 | 4d 4c 49 53 54 7d 0a 20 |c2.ag/NU|MLIST}. |
|00004d80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004d90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 40 7b 22 | | @{"|
|00004da0| 20 50 41 52 53 45 20 69 | 6e 73 74 72 75 63 74 69 | PARSE i|nstructi|
|00004db0| 6f 6e 20 20 20 20 20 20 | 20 20 20 20 20 20 22 20 |on | " |
|00004dc0| 6c 69 6e 6b 20 41 52 78 | 5f 49 6e 73 74 72 32 2e |link ARx|_Instr2.|
|00004dd0| 61 67 2f 50 41 52 53 45 | 7d 0a 0a 4e 65 61 72 6c |ag/PARSE|}..Nearl|
|00004de0| 79 20 61 6e 79 20 63 68 | 61 6e 67 65 20 6f 6e 65 |y any ch|ange one|
|00004df0| 20 6d 69 67 68 74 20 63 | 6f 6e 74 65 6d 70 6c 61 | might c|ontempla|
|00004e00| 74 65 20 66 6f 72 20 61 | 20 73 74 72 69 6e 67 20 |te for a| string |
|00004e10| 63 61 6e 20 62 65 20 6d | 61 64 65 20 77 69 74 68 |can be m|ade with|
|00004e20| 20 6f 6e 65 2c 0a 6f 72 | 20 61 20 63 6f 6d 62 69 | one,.or| a combi|
|00004e30| 6e 61 74 69 6f 6e 20 6f | 66 20 74 68 65 73 65 20 |nation o|f these |
|00004e40| 66 75 6e 63 74 69 6f 6e | 73 2c 20 6f 72 20 6f 6e |function|s, or on|
|00004e50| 65 20 6f 66 20 74 68 65 | 20 63 6c 6f 73 65 6c 79 |e of the| closely|
|00004e60| 2d 61 6c 6c 69 65 64 0a | 40 7b 22 20 77 6f 72 64 |-allied.|@{" word|
|00004e70| 20 6d 61 6e 69 70 75 6c | 61 74 69 6f 6e 20 66 75 | manipul|ation fu|
|00004e80| 6e 63 74 69 6f 6e 73 20 | 22 20 6c 69 6e 6b 20 41 |nctions |" link A|
|00004e90| 52 78 5f 46 75 6e 63 32 | 2e 61 67 2f 57 4f 52 44 |Rx_Func2|.ag/WORD|
|00004ea0| 4c 49 53 54 7d 2e 20 54 | 68 65 79 27 6c 6c 20 63 |LIST}. T|hey'll c|
|00004eb0| 75 74 20 63 68 75 6e 6b | 73 20 6f 75 74 20 6f 66 |ut chunk|s out of|
|00004ec0| 20 61 20 73 74 72 69 6e | 67 20 2d 2d 0a 4c 45 46 | a strin|g --.LEF|
|00004ed0| 54 28 29 2c 20 52 49 47 | 48 54 28 29 2c 20 53 55 |T(), RIG|HT(), SU|
|00004ee0| 42 53 54 52 28 29 2c 20 | 44 45 4c 53 54 52 28 29 |BSTR(), |DELSTR()|
|00004ef0| 3b 20 6f 72 20 72 65 6d | 6f 76 65 20 6f 6e 6c 79 |; or rem|ove only|
|00004f00| 20 63 65 72 74 61 69 6e | 20 63 68 61 72 61 63 74 | certain| charact|
|00004f10| 65 72 73 20 2d 2d 0a 53 | 54 52 49 50 28 29 2c 20 |ers --.S|TRIP(), |
|00004f20| 54 52 49 4d 28 29 2c 20 | 43 4f 4d 50 52 45 53 53 |TRIM(), |COMPRESS|
|00004f30| 28 29 3b 20 6f 72 20 61 | 64 64 20 74 6f 20 74 68 |(); or a|dd to th|
|00004f40| 65 20 73 74 72 69 6e 67 | 20 2d 2d 20 4f 56 45 52 |e string| -- OVER|
|00004f50| 4c 41 59 28 29 2c 20 49 | 4e 53 45 52 54 28 29 2c |LAY(), I|NSERT(),|
|00004f60| 0a 43 4f 50 49 45 53 28 | 29 2c 20 43 45 4e 54 45 |.COPIES(|), CENTE|
|00004f70| 52 28 29 3b 20 6f 72 20 | 74 72 61 6e 73 66 6f 72 |R(); or |transfor|
|00004f80| 6d 20 69 74 20 69 6e 20 | 73 75 62 74 6c 65 20 61 |m it in |subtle a|
|00004f90| 6e 64 20 77 6f 6e 64 65 | 72 66 75 6c 20 77 61 79 |nd wonde|rful way|
|00004fa0| 73 20 2d 2d 0a 54 52 41 | 4e 53 4c 41 54 45 28 29 |s --.TRA|NSLATE()|
|00004fb0| 2c 20 52 45 56 45 52 53 | 45 28 29 2e 0a 0a 4e 65 |, REVERS|E()...Ne|
|00004fc0| 78 74 3a 20 57 6f 72 64 | 20 66 75 6e 63 74 69 6f |xt: Word| functio|
|00004fd0| 6e 73 20 7c 20 50 72 65 | 76 3a 20 46 75 6e 63 4c |ns | Pre|v: FuncL|
|00004fe0| 69 73 74 20 7c 20 43 6f | 6e 74 65 6e 74 73 3a 20 |ist | Co|ntents: |
|00004ff0| 46 75 6e 63 74 69 6f 6e | 20 72 65 66 65 72 65 6e |Function| referen|
|00005000| 63 65 0a 0a 40 45 6e 64 | 4e 6f 64 65 0a 0a 40 4e |ce..@End|Node..@N|
|00005010| 6f 64 65 20 43 45 4e 54 | 45 52 28 29 20 22 41 52 |ode CENT|ER() "AR|
|00005020| 65 78 78 47 75 69 64 65 | 20 7c 20 46 75 6e 63 74 |exxGuide| | Funct|
|00005030| 69 6f 6e 73 20 72 65 66 | 65 72 65 6e 63 65 20 7c |ions ref|erence ||
|00005040| 20 53 74 72 69 6e 67 20 | 28 31 20 6f 66 20 31 35 | String |(1 of 15|
|00005050| 29 20 7c 20 43 45 4e 54 | 45 52 22 0a 40 54 4f 43 |) | CENT|ER".@TOC|
|00005060| 20 53 54 52 4c 49 53 54 | 0a 40 50 52 45 56 20 53 | STRLIST|.@PREV S|
|00005070| 54 52 4c 49 53 54 0a 43 | 45 4e 54 45 52 28 3c 73 |TRLIST.C|ENTER(<s|
|00005080| 74 72 69 6e 67 3e 2c 3c | 6c 65 6e 67 74 68 3e 2c |tring>,<|length>,|
|00005090| 5b 3c 70 61 64 63 68 61 | 72 3e 5d 29 0a 20 20 20 |[<padcha|r>]). |
|000050a0| 20 20 20 72 65 74 75 72 | 6e 73 20 61 20 73 74 72 | retur|ns a str|
|000050b0| 69 6e 67 0a 0a 54 68 65 | 20 72 65 73 75 6c 74 20 |ing..The| result |
|000050c0| 69 73 20 61 20 73 74 72 | 69 6e 67 20 6f 66 20 3c |is a str|ing of <|
|000050d0| 6c 65 6e 67 74 68 3e 20 | 63 68 61 72 61 63 74 65 |length> |characte|
|000050e0| 72 73 20 77 69 74 68 20 | 3c 73 74 72 69 6e 67 3e |rs with |<string>|
|000050f0| 20 63 65 6e 74 65 72 65 | 64 20 69 6e 0a 69 74 2e | centere|d in.it.|
|00005100| 20 54 68 65 20 3c 70 61 | 64 63 68 61 72 3e 20 69 | The <pa|dchar> i|
|00005110| 73 20 75 73 65 64 20 74 | 6f 20 66 69 6c 6c 20 6f |s used t|o fill o|
|00005120| 75 74 20 74 68 65 20 6c | 65 66 74 20 61 6e 64 20 |ut the l|eft and |
|00005130| 72 69 67 68 74 20 73 69 | 64 65 73 20 6f 66 20 74 |right si|des of t|
|00005140| 68 65 0a 73 74 72 69 6e | 67 2e 20 54 68 65 20 64 |he.strin|g. The d|
|00005150| 65 66 61 75 6c 74 20 70 | 61 64 20 63 68 61 72 61 |efault p|ad chara|
|00005160| 63 74 65 72 20 69 73 20 | 61 20 62 6c 61 6e 6b 2e |cter is |a blank.|
|00005170| 0a 0a 20 20 20 45 78 61 | 6d 70 6c 65 3a 0a 20 20 |.. Exa|mple:. |
|00005180| 20 20 20 20 20 20 20 73 | 61 79 20 27 5b 27 63 65 | s|ay '['ce|
|00005190| 6e 74 65 72 28 27 54 69 | 74 6c 65 27 2c 32 30 29 |nter('Ti|tle',20)|
|000051a0| 27 5d 27 3b 20 20 20 20 | 20 20 3e 3e 3e 20 5b 20 |']'; | >>> [ |
|000051b0| 20 20 20 20 20 20 54 69 | 74 6c 65 20 20 20 20 20 | Ti|tle |
|000051c0| 20 20 20 5d 0a 20 20 20 | 20 20 20 20 20 20 73 61 | ]. | sa|
|000051d0| 79 20 63 65 6e 74 65 72 | 28 27 54 69 74 6c 65 27 |y center|('Title'|
|000051e0| 2c 32 32 2c 27 2a 27 29 | 3b 20 20 20 20 20 20 20 |,22,'*')|; |
|000051f0| 20 3e 3e 3e 20 2a 2a 2a | 2a 2a 2a 2a 2a 54 69 74 | >>> ***|*****Tit|
|00005200| 6c 65 2a 2a 2a 2a 2a 2a | 2a 2a 2a 0a 0a 20 20 20 |le******|***.. |
|00005210| 41 6c 73 6f 20 73 65 65 | 20 40 7b 20 22 20 53 50 |Also see| @{ " SP|
|00005220| 41 43 45 20 20 20 20 20 | 20 20 20 20 22 20 6c 69 |ACE | " li|
|00005230| 6e 6b 20 41 52 78 5f 46 | 75 6e 63 32 2e 61 67 2f |nk ARx_F|unc2.ag/|
|00005240| 53 50 41 43 45 28 29 7d | 0a 20 20 20 20 20 20 20 |SPACE()}|. |
|00005250| 20 20 20 20 20 40 7b 20 | 22 20 43 4f 50 49 45 53 | @{ |" COPIES|
|00005260| 20 20 20 20 20 20 20 20 | 22 20 6c 69 6e 6b 20 43 | |" link C|
|00005270| 4f 50 49 45 53 28 29 7d | 0a 0a 4e 65 78 74 3a 20 |OPIES()}|..Next: |
|00005280| 43 4f 4d 50 52 45 53 53 | 28 29 20 7c 20 50 72 65 |COMPRESS|() | Pre|
|00005290| 76 3a 20 53 74 72 69 6e | 67 20 66 75 6e 63 74 69 |v: Strin|g functi|
|000052a0| 6f 6e 73 20 7c 20 43 6f | 6e 74 65 6e 74 73 3a 20 |ons | Co|ntents: |
|000052b0| 53 74 72 69 6e 67 20 66 | 75 6e 63 74 69 6f 6e 73 |String f|unctions|
|000052c0| 0a 0a 40 45 6e 64 4e 6f | 64 65 0a 40 4e 6f 64 65 |..@EndNo|de.@Node|
|000052d0| 20 43 4f 4d 50 52 45 53 | 53 28 29 20 22 41 52 65 | COMPRES|S() "ARe|
|000052e0| 78 78 47 75 69 64 65 20 | 7c 20 46 75 6e 63 74 69 |xxGuide || Functi|
|000052f0| 6f 6e 73 20 72 65 66 65 | 72 65 6e 63 65 20 7c 20 |ons refe|rence | |
|00005300| 53 74 72 69 6e 67 20 28 | 32 20 6f 66 20 31 35 29 |String (|2 of 15)|
|00005310| 20 7c 20 43 4f 4d 50 52 | 45 53 53 22 0a 40 54 4f | | COMPR|ESS".@TO|
|00005320| 43 20 53 54 52 4c 49 53 | 54 0a 43 4f 4d 50 52 45 |C STRLIS|T.COMPRE|
|00005330| 53 53 28 3c 73 74 72 69 | 6e 67 3e 2c 20 5b 3c 6c |SS(<stri|ng>, [<l|
|00005340| 69 73 74 3e 5d 29 0a 20 | 20 20 20 20 20 72 65 74 |ist>]). | ret|
|00005350| 75 72 6e 73 20 61 20 73 | 74 72 69 6e 67 0a 0a 52 |urns a s|tring..R|
|00005360| 65 6d 6f 76 65 73 20 61 | 6e 79 20 6f 66 20 74 68 |emoves a|ny of th|
|00005370| 65 20 63 68 61 72 61 63 | 74 65 72 73 20 63 6f 6e |e charac|ters con|
|00005380| 74 61 69 6e 65 64 20 69 | 6e 20 3c 6c 69 73 74 3e |tained i|n <list>|
|00005390| 20 66 72 6f 6d 20 3c 73 | 74 72 69 6e 67 3e 2e 20 | from <s|tring>. |
|000053a0| 54 68 65 0a 64 65 66 61 | 75 6c 74 20 63 68 61 72 |The.defa|ult char|
|000053b0| 61 63 74 65 72 20 66 6f | 72 20 3c 6c 69 73 74 3e |acter fo|r <list>|
|000053c0| 20 69 73 20 61 20 62 6c | 61 6e 6b 2c 20 73 6f 20 | is a bl|ank, so |
|000053d0| 74 68 69 73 20 66 75 6e | 63 74 69 6f 6e 20 77 69 |this fun|ction wi|
|000053e0| 6c 6c 20 72 65 6d 6f 76 | 65 20 61 6c 6c 0a 62 6c |ll remov|e all.bl|
|000053f0| 61 6e 6b 73 20 69 66 20 | 6f 6e 6c 79 20 3c 73 74 |anks if |only <st|
|00005400| 72 69 6e 67 3e 20 69 73 | 20 73 70 65 63 69 66 69 |ring> is| specifi|
|00005410| 65 64 2e 0a 0a 20 20 20 | 45 78 61 6d 70 6c 65 73 |ed... |Examples|
|00005420| 3a 0a 20 20 20 20 20 20 | 20 20 20 73 61 79 20 63 |:. | say c|
|00005430| 6f 6d 70 72 65 73 73 28 | 27 24 31 2c 30 34 35 27 |ompress(|'$1,045'|
|00005440| 2c 27 24 2c 25 27 29 3b | 20 20 20 20 20 20 3e 3e |,'$,%');| >>|
|00005450| 3e 20 31 30 34 35 0a 20 | 20 20 20 20 20 20 20 20 |> 1045. | |
|00005460| 73 61 79 20 63 6f 6d 70 | 72 65 73 73 28 27 43 61 |say comp|ress('Ca|
|00005470| 6c 6c 20 6d 65 20 49 73 | 6d 61 65 6c 2e 27 29 3b |ll me Is|mael.');|
|00005480| 20 20 20 3e 3e 3e 20 43 | 61 6c 6c 6d 65 49 73 6d | >>> C|allmeIsm|
|00005490| 61 65 6c 2e 0a 0a 20 20 | 20 41 6c 73 6f 20 73 65 |ael... | Also se|
|000054a0| 65 20 40 7b 20 22 20 54 | 52 41 4e 53 4c 41 54 45 |e @{ " T|RANSLATE|
|000054b0| 20 20 20 20 20 22 20 6c | 69 6e 6b 20 54 52 41 4e | " l|ink TRAN|
|000054c0| 53 4c 41 54 45 28 29 7d | 0a 20 20 20 20 20 20 20 |SLATE()}|. |
|000054d0| 20 20 20 20 20 40 7b 20 | 22 20 53 54 52 49 50 20 | @{ |" STRIP |
|000054e0| 20 20 20 20 20 20 20 20 | 22 20 6c 69 6e 6b 20 53 | |" link S|
|000054f0| 54 52 49 50 28 29 7d 0a | 20 20 20 20 20 20 20 20 |TRIP()}.| |
|00005500| 20 20 20 20 40 7b 20 22 | 20 53 50 41 43 45 20 20 | @{ "| SPACE |
|00005510| 20 20 20 20 20 20 20 22 | 20 6c 69 6e 6b 20 41 52 | "| link AR|
|00005520| 78 5f 46 75 6e 63 32 2e | 61 67 2f 53 50 41 43 45 |x_Func2.|ag/SPACE|
|00005530| 28 29 7d 0a 0a 20 20 20 | 20 20 20 20 20 20 20 20 |()}.. | |
|00005540| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005550| 20 20 20 20 20 20 40 7b | 22 20 4e 4f 54 45 3a 20 | @{|" NOTE: |
|00005560| 43 6f 75 6e 74 69 6e 67 | 20 63 68 61 72 61 63 74 |Counting| charact|
|00005570| 65 72 73 20 77 69 74 68 | 20 43 4f 4d 50 52 45 53 |ers with| COMPRES|
|00005580| 53 28 29 20 22 20 61 6c | 69 6e 6b 20 41 52 78 5f |S() " al|ink ARx_|
|00005590| 4e 6f 74 65 73 2e 61 67 | 2f 43 4f 55 4e 54 43 48 |Notes.ag|/COUNTCH|
|000055a0| 41 52 7d 0a 0a 4e 65 78 | 74 3a 20 43 4f 50 49 45 |AR}..Nex|t: COPIE|
|000055b0| 53 28 29 20 7c 20 50 72 | 65 76 3a 20 43 45 4e 54 |S() | Pr|ev: CENT|
|000055c0| 45 52 28 29 20 7c 20 43 | 6f 6e 74 65 6e 74 73 3a |ER() | C|ontents:|
|000055d0| 20 53 74 72 69 6e 67 20 | 66 75 6e 63 74 69 6f 6e | String |function|
|000055e0| 73 0a 0a 40 45 6e 64 4e | 6f 64 65 0a 40 4e 6f 64 |s..@EndN|ode.@Nod|
|000055f0| 65 20 43 4f 50 49 45 53 | 28 29 20 22 41 52 65 78 |e COPIES|() "ARex|
|00005600| 78 47 75 69 64 65 20 7c | 20 46 75 6e 63 74 69 6f |xGuide || Functio|
|00005610| 6e 73 20 72 65 66 65 72 | 65 6e 63 65 20 7c 20 53 |ns refer|ence | S|
|00005620| 74 72 69 6e 67 20 28 33 | 20 6f 66 20 31 35 29 20 |tring (3| of 15) |
|00005630| 7c 20 43 4f 50 49 45 53 | 22 0a 40 54 4f 43 20 53 || COPIES|".@TOC S|
|00005640| 54 52 4c 49 53 54 0a 43 | 4f 50 49 45 53 28 3c 73 |TRLIST.C|OPIES(<s|
|00005650| 74 72 69 6e 67 3e 2c 3c | 6e 75 6d 62 65 72 3e 29 |tring>,<|number>)|
|00005660| 0a 20 20 20 20 20 20 72 | 65 74 75 72 6e 73 20 61 |. r|eturns a|
|00005670| 20 73 74 72 69 6e 67 0a | 0a 54 68 65 20 72 65 73 | string.|.The res|
|00005680| 75 6c 74 20 69 73 20 61 | 20 6e 65 77 20 73 74 72 |ult is a| new str|
|00005690| 69 6e 67 20 63 6f 6d 70 | 6f 73 65 64 20 6f 66 20 |ing comp|osed of |
|000056a0| 3c 73 74 72 69 6e 67 3e | 20 63 6f 6e 63 61 74 65 |<string>| concate|
|000056b0| 6e 61 74 65 64 20 77 69 | 74 68 20 69 74 73 65 6c |nated wi|th itsel|
|000056c0| 66 0a 3c 6e 75 6d 62 65 | 72 3e 20 74 69 6d 65 73 |f.<numbe|r> times|
|000056d0| 2e 0a 0a 20 20 20 45 78 | 61 6d 70 6c 65 3a 0a 20 |... Ex|ample:. |
|000056e0| 20 20 20 20 20 20 20 20 | 73 61 79 20 63 6f 70 69 | |say copi|
|000056f0| 65 73 28 27 78 6f 27 2c | 36 29 3b 20 20 20 20 20 |es('xo',|6); |
|00005700| 20 20 20 20 20 20 20 20 | 20 20 20 3e 3e 3e 20 78 | | >>> x|
|00005710| 6f 78 6f 78 6f 78 6f 78 | 6f 78 6f 0a 0a 20 20 20 |oxoxoxox|oxo.. |
|00005720| 41 6c 73 6f 20 73 65 65 | 20 40 7b 20 22 20 58 52 |Also see| @{ " XR|
|00005730| 41 4e 47 45 20 20 20 20 | 20 20 20 20 22 20 6c 69 |ANGE | " li|
|00005740| 6e 6b 20 58 52 41 4e 47 | 45 28 29 7d 0a 20 20 20 |nk XRANG|E()}. |
|00005750| 20 20 20 20 20 20 20 20 | 20 40 7b 20 22 20 43 45 | | @{ " CE|
|00005760| 4e 54 45 52 20 20 20 20 | 20 20 20 20 22 20 6c 69 |NTER | " li|
|00005770| 6e 6b 20 43 45 4e 54 45 | 52 28 29 7d 0a 0a 4e 65 |nk CENTE|R()}..Ne|
|00005780| 78 74 3a 20 44 45 4c 53 | 54 52 28 29 20 7c 20 50 |xt: DELS|TR() | P|
|00005790| 72 65 76 3a 20 43 4f 4d | 50 52 45 53 53 28 29 20 |rev: COM|PRESS() |
|000057a0| 7c 20 43 6f 6e 74 65 6e | 74 73 3a 20 53 74 72 69 || Conten|ts: Stri|
|000057b0| 6e 67 20 66 75 6e 63 74 | 69 6f 6e 73 0a 0a 40 45 |ng funct|ions..@E|
|000057c0| 6e 64 4e 6f 64 65 0a 40 | 4e 6f 64 65 20 44 45 4c |ndNode.@|Node DEL|
|000057d0| 53 54 52 28 29 20 22 41 | 52 65 78 78 47 75 69 64 |STR() "A|RexxGuid|
|000057e0| 65 20 7c 20 46 75 6e 63 | 74 69 6f 6e 73 20 72 65 |e | Func|tions re|
|000057f0| 66 65 72 65 6e 63 65 20 | 7c 20 53 74 72 69 6e 67 |ference || String|
|00005800| 20 28 34 20 6f 66 20 31 | 35 29 20 7c 20 44 45 4c | (4 of 1|5) | DEL|
|00005810| 53 54 52 22 0a 40 54 4f | 43 20 53 54 52 4c 49 53 |STR".@TO|C STRLIS|
|00005820| 54 0a 44 45 4c 53 54 52 | 28 3c 73 74 72 69 6e 67 |T.DELSTR|(<string|
|00005830| 3e 2c 3c 6e 75 6d 62 65 | 72 3e 2c 20 5b 3c 6c 65 |>,<numbe|r>, [<le|
|00005840| 6e 67 74 68 3e 5d 29 0a | 20 20 20 20 20 20 72 65 |ngth>]).| re|
|00005850| 74 75 72 6e 73 20 61 20 | 73 74 72 69 6e 67 0a 0a |turns a |string..|
|00005860| 44 65 6c 65 74 65 73 20 | 61 20 70 6f 72 74 69 6f |Deletes |a portio|
|00005870| 6e 20 6f 66 20 3c 73 74 | 72 69 6e 67 3e 20 6f 66 |n of <st|ring> of|
|00005880| 20 3c 6c 65 6e 67 74 68 | 3e 20 63 68 61 72 61 63 | <length|> charac|
|00005890| 74 65 72 73 20 62 65 67 | 69 6e 6e 69 6e 67 20 61 |ters beg|inning a|
|000058a0| 74 20 74 68 65 0a 3c 6e | 75 6d 62 65 72 3e 20 63 |t the.<n|umber> c|
|000058b0| 68 61 72 61 63 74 65 72 | 20 70 6f 73 69 74 69 6f |haracter| positio|
|000058c0| 6e 2e 20 54 68 65 20 6e | 65 77 20 73 74 72 69 6e |n. The n|ew strin|
|000058d0| 67 20 69 73 20 72 65 74 | 75 72 6e 65 64 2e 20 49 |g is ret|urned. I|
|000058e0| 66 20 3c 6e 75 6d 62 65 | 72 3e 20 69 73 0a 67 72 |f <numbe|r> is.gr|
|000058f0| 65 61 74 65 72 20 74 68 | 61 6e 20 74 68 65 20 6c |eater th|an the l|
|00005900| 65 6e 67 74 68 20 6f 66 | 20 3c 73 74 72 69 6e 67 |ength of| <string|
|00005910| 3e 20 74 68 65 6e 20 3c | 73 74 72 69 6e 67 3e 20 |> then <|string> |
|00005920| 69 73 20 72 65 74 75 72 | 6e 65 64 20 75 6e 63 68 |is retur|ned unch|
|00005930| 61 6e 67 65 64 2e 0a 0a | 49 66 20 3c 6c 65 6e 67 |anged...|If <leng|
|00005940| 74 68 3e 20 69 73 20 6f | 6d 69 74 74 65 64 2c 20 |th> is o|mitted, |
|00005950| 61 6c 6c 20 63 68 61 72 | 61 63 74 65 72 73 20 62 |all char|acters b|
|00005960| 65 67 69 6e 6e 69 6e 67 | 20 61 74 20 70 6f 73 69 |eginning| at posi|
|00005970| 74 69 6f 6e 20 3c 6e 75 | 6d 62 65 72 3e 20 61 72 |tion <nu|mber> ar|
|00005980| 65 0a 64 65 6c 65 74 65 | 64 2e 0a 0a 20 20 20 45 |e.delete|d... E|
|00005990| 78 61 6d 70 6c 65 3a 0a | 20 20 20 20 20 20 20 20 |xample:.| |
|000059a0| 20 73 61 79 20 64 65 6c | 73 74 72 28 27 69 6e 64 | say del|str('ind|
|000059b0| 69 66 66 65 72 65 6e 63 | 65 27 2c 33 2c 33 29 3b |ifferenc|e',3,3);|
|000059c0| 20 20 20 20 20 20 3e 3e | 3e 20 69 6e 66 65 72 65 | >>|> infere|
|000059d0| 6e 63 65 0a 0a 20 20 20 | 41 6c 73 6f 20 73 65 65 |nce.. |Also see|
|000059e0| 20 40 7b 20 22 20 44 45 | 4c 57 4f 52 44 20 20 20 | @{ " DE|LWORD |
|000059f0| 20 20 20 20 22 20 6c 69 | 6e 6b 20 41 52 78 5f 46 | " li|nk ARx_F|
|00005a00| 75 6e 63 32 2e 61 67 2f | 44 45 4c 57 4f 52 44 28 |unc2.ag/|DELWORD(|
|00005a10| 29 7d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 40 |)}. | @|
|00005a20| 7b 20 22 20 52 49 47 48 | 54 20 20 20 20 20 20 20 |{ " RIGH|T |
|00005a30| 20 20 22 20 6c 69 6e 6b | 20 52 49 47 48 54 28 29 | " link| RIGHT()|
|00005a40| 7d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 40 7b |}. | @{|
|00005a50| 20 22 20 53 55 42 53 54 | 52 20 20 20 20 20 20 20 | " SUBST|R |
|00005a60| 20 22 20 6c 69 6e 6b 20 | 53 55 42 53 54 52 28 29 | " link |SUBSTR()|
|00005a70| 7d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 40 7b |}. | @{|
|00005a80| 20 22 20 49 4e 53 45 52 | 54 20 20 20 20 20 20 20 | " INSER|T |
|00005a90| 20 22 20 6c 69 6e 6b 20 | 49 4e 53 45 52 54 28 29 | " link |INSERT()|
|00005aa0| 7d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 40 7b |}. | @{|
|00005ab0| 20 22 20 4f 56 45 52 4c | 41 59 20 20 20 20 20 20 | " OVERL|AY |
|00005ac0| 20 22 20 6c 69 6e 6b 20 | 4f 56 45 52 4c 41 59 28 | " link |OVERLAY(|
|00005ad0| 29 7d 0a 0a 4e 65 78 74 | 3a 20 49 4e 53 45 52 54 |)}..Next|: INSERT|
|00005ae0| 28 29 20 7c 20 50 72 65 | 76 3a 20 43 4f 50 49 45 |() | Pre|v: COPIE|
|00005af0| 53 28 29 20 7c 20 43 6f | 6e 74 65 6e 74 73 3a 20 |S() | Co|ntents: |
|00005b00| 53 74 72 69 6e 67 20 66 | 75 6e 63 74 69 6f 6e 73 |String f|unctions|
|00005b10| 0a 0a 40 45 6e 64 4e 6f | 64 65 0a 40 4e 6f 64 65 |..@EndNo|de.@Node|
|00005b20| 20 49 4e 53 45 52 54 28 | 29 20 22 41 52 65 78 78 | INSERT(|) "ARexx|
|00005b30| 47 75 69 64 65 20 7c 20 | 46 75 6e 63 74 69 6f 6e |Guide | |Function|
|00005b40| 73 20 72 65 66 65 72 65 | 6e 63 65 20 7c 20 53 74 |s refere|nce | St|
|00005b50| 72 69 6e 67 20 28 35 20 | 6f 66 20 31 35 29 20 7c |ring (5 |of 15) ||
|00005b60| 20 49 4e 53 45 52 54 22 | 0a 40 54 4f 43 20 53 54 | INSERT"|.@TOC ST|
|00005b70| 52 4c 49 53 54 0a 49 4e | 53 45 52 54 28 3c 6e 65 |RLIST.IN|SERT(<ne|
|00005b80| 77 20 73 74 72 69 6e 67 | 3e 2c 20 3c 6f 6c 64 20 |w string|>, <old |
|00005b90| 73 74 72 69 6e 67 3e 2c | 3c 73 74 61 72 74 70 6f |string>,|<startpo|
|00005ba0| 73 3e 2c 20 5b 3c 6c 65 | 6e 67 74 68 3e 5d 2c 5b |s>, [<le|ngth>],[|
|00005bb0| 3c 70 61 64 63 68 61 72 | 3e 5d 29 0a 20 20 20 20 |<padchar|>]). |
|00005bc0| 20 20 72 65 74 75 72 6e | 73 20 61 20 73 74 72 69 | return|s a stri|
|00005bd0| 6e 67 0a 0a 3c 6e 65 77 | 20 73 74 72 69 6e 67 3e |ng..<new| string>|
|00005be0| 20 69 73 20 69 6e 73 65 | 72 74 65 64 20 69 6e 74 | is inse|rted int|
|00005bf0| 6f 20 3c 6f 6c 64 20 73 | 74 72 69 6e 67 3e 20 62 |o <old s|tring> b|
|00005c00| 65 67 69 6e 6e 69 6e 67 | 20 61 74 20 3c 73 74 61 |eginning| at <sta|
|00005c10| 72 74 70 6f 73 3e 2c 20 | 74 68 65 0a 63 68 61 72 |rtpos>, |the.char|
|00005c20| 61 63 74 65 72 2d 63 6f | 75 6e 74 20 70 6f 73 69 |acter-co|unt posi|
|00005c30| 74 69 6f 6e 2e 20 3c 6e | 65 77 20 73 74 72 69 6e |tion. <n|ew strin|
|00005c40| 67 3e 20 77 69 6c 6c 20 | 62 65 20 70 61 64 64 65 |g> will |be padde|
|00005c50| 64 20 77 69 74 68 20 3c | 70 61 64 63 68 61 72 3e |d with <|padchar>|
|00005c60| 20 6f 72 0a 74 72 75 6e | 63 61 74 65 64 20 74 6f | or.trun|cated to|
|00005c70| 20 3c 6c 65 6e 67 74 68 | 3e 20 63 68 61 72 61 63 | <length|> charac|
|00005c80| 74 65 72 73 2e 0a 0a 49 | 66 20 3c 73 74 61 72 74 |ters...I|f <start|
|00005c90| 70 6f 73 3e 20 69 73 20 | 67 72 65 61 74 65 72 20 |pos> is |greater |
|00005ca0| 74 68 61 6e 20 74 68 65 | 20 6c 65 6e 67 74 68 20 |than the| length |
|00005cb0| 6f 66 20 3c 6f 6c 64 20 | 73 74 72 69 6e 67 3e 20 |of <old |string> |
|00005cc0| 74 68 65 6e 20 3c 70 61 | 64 63 68 61 72 3e 0a 77 |then <pa|dchar>.w|
|00005cd0| 69 6c 6c 20 62 65 20 61 | 64 64 65 64 20 74 6f 20 |ill be a|dded to |
|00005ce0| 74 68 65 20 65 6e 64 20 | 6f 66 20 3c 6f 6c 64 20 |the end |of <old |
|00005cf0| 73 74 72 69 6e 67 3e 20 | 62 65 66 6f 72 65 20 74 |string> |before t|
|00005d00| 68 65 20 6e 65 77 20 73 | 74 72 69 6e 67 20 69 73 |he new s|tring is|
|00005d10| 20 61 64 64 65 64 2e 0a | 49 66 20 3c 73 74 61 72 | added..|If <star|
|00005d20| 74 70 6f 73 3e 20 69 73 | 20 30 2c 20 74 68 65 6e |tpos> is| 0, then|
|00005d30| 20 3c 6e 65 77 20 73 74 | 72 69 6e 67 3e 20 77 69 | <new st|ring> wi|
|00005d40| 6c 6c 20 62 65 20 70 61 | 64 64 65 64 20 74 6f 20 |ll be pa|dded to |
|00005d50| 3c 6c 65 6e 67 74 68 3e | 20 61 6e 64 20 74 68 65 |<length>| and the|
|00005d60| 6e 0a 61 64 64 65 64 20 | 74 6f 20 74 68 65 20 73 |n.added |to the s|
|00005d70| 74 61 72 74 20 6f 66 20 | 3c 6f 6c 64 20 73 74 72 |tart of |<old str|
|00005d80| 69 6e 67 3e 0a 0a 54 68 | 65 20 64 65 66 61 75 6c |ing>..Th|e defaul|
|00005d90| 74 20 6c 65 6e 67 74 68 | 20 69 73 20 74 68 65 20 |t length| is the |
|00005da0| 6c 65 6e 67 74 68 20 6f | 66 20 3c 6e 65 77 20 73 |length o|f <new s|
|00005db0| 74 72 69 6e 67 3e 2e 20 | 54 68 65 20 64 65 66 61 |tring>. |The defa|
|00005dc0| 75 6c 74 20 70 61 64 0a | 63 68 61 72 61 63 74 65 |ult pad.|characte|
|00005dd0| 72 20 69 73 20 61 20 62 | 6c 61 6e 6b 2e 0a 0a 20 |r is a b|lank... |
|00005de0| 20 20 45 78 61 6d 70 6c | 65 3a 0a 20 20 20 20 20 | Exampl|e:. |
|00005df0| 20 20 20 20 73 61 79 20 | 69 6e 73 65 72 74 28 27 | say |insert('|
|00005e00| 61 6c 77 61 79 73 20 62 | 65 68 61 76 65 64 20 6c |always b|ehaved l|
|00005e10| 69 6b 65 27 2c 27 49 20 | 68 61 76 65 20 61 20 70 |ike','I |have a p|
|00005e20| 69 67 2e 27 2c 37 2c 32 | 30 29 0a 20 20 20 20 20 |ig.',7,2|0). |
|00005e30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005e40| 20 20 20 20 20 20 20 20 | 20 20 20 20 3e 3e 3e 20 | | >>> |
|00005e50| 49 20 68 61 76 65 20 61 | 6c 77 61 79 73 20 62 65 |I have a|lways be|
|00005e60| 68 61 76 65 64 20 6c 69 | 6b 65 20 61 20 70 69 67 |haved li|ke a pig|
|00005e70| 2e 0a 0a 20 20 20 41 6c | 73 6f 20 73 65 65 20 40 |... Al|so see @|
|00005e80| 7b 20 22 20 4f 56 45 52 | 4c 41 59 20 20 20 20 20 |{ " OVER|LAY |
|00005e90| 20 20 22 20 6c 69 6e 6b | 20 4f 56 45 52 4c 41 59 | " link| OVERLAY|
|00005ea0| 28 29 7d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |()}. | |
|00005eb0| 40 7b 20 22 20 44 45 4c | 53 54 52 20 20 20 20 20 |@{ " DEL|STR |
|00005ec0| 20 20 20 22 20 6c 69 6e | 6b 20 44 45 4c 53 54 52 | " lin|k DELSTR|
|00005ed0| 28 29 7d 0a 0a 4e 65 78 | 74 3a 20 4c 45 46 54 28 |()}..Nex|t: LEFT(|
|00005ee0| 29 20 7c 20 50 72 65 76 | 3a 20 44 45 4c 53 54 52 |) | Prev|: DELSTR|
|00005ef0| 28 29 20 7c 20 43 6f 6e | 74 65 6e 74 73 3a 20 53 |() | Con|tents: S|
|00005f00| 74 72 69 6e 67 20 66 75 | 6e 63 74 69 6f 6e 73 0a |tring fu|nctions.|
|00005f10| 0a 40 45 6e 64 4e 6f 64 | 65 0a 40 4e 6f 64 65 20 |.@EndNod|e.@Node |
|00005f20| 4c 45 46 54 28 29 20 22 | 41 52 65 78 78 47 75 69 |LEFT() "|ARexxGui|
|00005f30| 64 65 20 7c 20 46 75 6e | 63 74 69 6f 6e 73 20 72 |de | Fun|ctions r|
|00005f40| 65 66 65 72 65 6e 63 65 | 20 7c 20 53 74 72 69 6e |eference| | Strin|
|00005f50| 67 20 28 36 20 6f 66 20 | 31 35 29 20 7c 20 4c 45 |g (6 of |15) | LE|
|00005f60| 46 54 22 0a 40 54 4f 43 | 20 53 54 52 4c 49 53 54 |FT".@TOC| STRLIST|
|00005f70| 0a 4c 45 46 54 28 3c 73 | 74 72 69 6e 67 3e 2c 3c |.LEFT(<s|tring>,<|
|00005f80| 6c 65 6e 67 74 68 3e 2c | 5b 3c 70 61 64 63 68 61 |length>,|[<padcha|
|00005f90| 72 3e 5d 29 0a 20 20 20 | 20 20 20 72 65 74 75 72 |r>]). | retur|
|00005fa0| 6e 73 20 61 20 73 74 72 | 69 6e 67 0a 0a 54 68 65 |ns a str|ing..The|
|00005fb0| 20 72 65 73 75 6c 74 20 | 69 73 20 61 20 73 74 72 | result |is a str|
|00005fc0| 69 6e 67 20 6f 66 20 3c | 6c 65 6e 67 74 68 3e 20 |ing of <|length> |
|00005fd0| 63 68 61 72 61 63 74 65 | 72 73 20 6d 61 64 65 20 |characte|rs made |
|00005fe0| 75 70 20 6f 66 20 74 68 | 65 20 6c 65 66 74 6d 6f |up of th|e leftmo|
|00005ff0| 73 74 0a 63 68 61 72 61 | 63 74 65 72 73 20 69 6e |st.chara|cters in|
|00006000| 20 3c 73 74 72 69 6e 67 | 3e 2e 20 49 66 20 3c 6c | <string|>. If <l|
|00006010| 65 6e 67 74 68 3e 20 69 | 73 20 67 72 65 61 74 65 |ength> i|s greate|
|00006020| 72 20 74 68 61 6e 20 74 | 68 65 20 6c 65 6e 67 74 |r than t|he lengt|
|00006030| 68 20 6f 66 0a 3c 73 74 | 72 69 6e 67 3e 2c 20 74 |h of.<st|ring>, t|
|00006040| 68 65 6e 20 74 68 65 20 | 73 74 72 69 6e 67 20 72 |hen the |string r|
|00006050| 65 74 75 72 6e 65 64 20 | 69 73 20 66 69 6c 6c 65 |eturned |is fille|
|00006060| 64 20 6f 75 74 20 6f 6e | 20 74 68 65 20 72 69 67 |d out on| the rig|
|00006070| 68 74 20 77 69 74 68 0a | 3c 70 61 64 63 68 61 72 |ht with.|<padchar|
|00006080| 3e 20 2d 2d 20 61 20 71 | 75 69 63 6b 20 77 61 79 |> -- a q|uick way|
|00006090| 20 74 6f 20 6c 65 66 74 | 2d 6a 75 73 74 69 66 79 | to left|-justify|
|000060a0| 20 61 20 73 74 72 69 6e | 67 2e 0a 0a 54 68 65 20 | a strin|g...The |
|000060b0| 64 65 66 61 75 6c 74 20 | 70 61 64 20 63 68 61 72 |default |pad char|
|000060c0| 61 63 74 65 72 20 69 73 | 20 61 20 62 6c 61 6e 6b |acter is| a blank|
|000060d0| 2e 0a 0a 20 20 20 45 78 | 61 6d 70 6c 65 3a 0a 20 |... Ex|ample:. |
|000060e0| 20 20 20 20 20 20 20 20 | 73 61 79 20 6c 65 66 74 | |say left|
|000060f0| 28 27 6e 65 76 65 72 20 | 74 6f 20 73 74 6f 70 20 |('never |to stop |
|00006100| 73 61 79 69 6e 67 27 2c | 31 33 29 3b 20 20 20 20 |saying',|13); |
|00006110| 20 20 3e 3e 3e 20 6e 65 | 76 65 72 20 74 6f 20 73 | >>> ne|ver to s|
|00006120| 74 6f 70 0a 20 20 20 20 | 20 20 20 20 20 73 61 79 |top. | say|
|00006130| 20 6c 65 66 74 28 27 57 | 69 64 67 65 74 27 2c 20 | left('W|idget', |
|00006140| 31 32 29 27 7c 27 20 20 | 20 20 20 20 20 20 20 20 |12)'|' | |
|00006150| 20 20 20 20 20 20 20 3e | 3e 3e 20 57 69 64 67 65 | >|>> Widge|
|00006160| 74 20 20 20 20 20 20 7c | 0a 20 20 20 20 20 20 20 |t ||. |
|00006170| 20 20 73 61 79 20 6c 65 | 66 74 28 27 4e 6f 27 2c | say le|ft('No',|
|00006180| 20 34 2c 20 27 21 27 29 | 20 20 20 20 20 20 20 20 | 4, '!')| |
|00006190| 20 20 20 20 20 20 20 20 | 20 20 20 20 3e 3e 3e 20 | | >>> |
|000061a0| 4e 6f 21 21 0a 0a 20 20 | 20 41 6c 73 6f 20 73 65 |No!!.. | Also se|
|000061b0| 65 20 40 7b 20 22 20 52 | 49 47 48 54 20 20 20 20 |e @{ " R|IGHT |
|000061c0| 20 20 20 20 20 22 20 6c | 69 6e 6b 20 52 49 47 48 | " l|ink RIGH|
|000061d0| 54 28 29 7d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |T()}. | |
|000061e0| 20 40 7b 20 22 20 53 55 | 42 53 54 52 20 20 20 20 | @{ " SU|BSTR |
|000061f0| 20 20 20 20 22 20 6c 69 | 6e 6b 20 53 55 42 53 54 | " li|nk SUBST|
|00006200| 52 28 29 7d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |R()}. | |
|00006210| 20 40 7b 20 22 20 41 42 | 42 52 45 56 20 20 20 20 | @{ " AB|BREV |
|00006220| 20 20 20 20 22 20 6c 69 | 6e 6b 20 41 42 42 52 45 | " li|nk ABBRE|
|00006230| 56 28 29 7d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |V()}. | |
|00006240| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00006250| 20 20 20 20 20 20 40 7b | 22 20 4e 4f 54 45 3a 20 | @{|" NOTE: |
|00006260| 46 6f 72 6d 61 74 74 69 | 6e 67 20 74 61 62 6c 65 |Formatti|ng table|
|00006270| 73 20 20 20 20 20 20 20 | 20 20 20 20 22 20 61 6c |s | " al|
|00006280| 69 6e 6b 20 41 52 78 5f | 4e 6f 74 65 73 2e 61 67 |ink ARx_|Notes.ag|
|00006290| 2f 46 4f 52 4d 41 54 4e | 4f 54 45 7d 0a 0a 4e 65 |/FORMATN|OTE}..Ne|
|000062a0| 78 74 3a 20 4c 45 4e 47 | 54 48 28 29 20 7c 20 50 |xt: LENG|TH() | P|
|000062b0| 72 65 76 3a 20 49 4e 53 | 45 52 54 28 29 20 7c 20 |rev: INS|ERT() | |
|000062c0| 43 6f 6e 74 65 6e 74 73 | 3a 20 53 74 72 69 6e 67 |Contents|: String|
|000062d0| 20 66 75 6e 63 74 69 6f | 6e 73 0a 0a 40 45 6e 64 | functio|ns..@End|
|000062e0| 4e 6f 64 65 0a 40 4e 6f | 64 65 20 4c 45 4e 47 54 |Node.@No|de LENGT|
|000062f0| 48 28 29 20 22 41 52 65 | 78 78 47 75 69 64 65 20 |H() "ARe|xxGuide |
|00006300| 7c 20 46 75 6e 63 74 69 | 6f 6e 73 20 72 65 66 65 || Functi|ons refe|
|00006310| 72 65 6e 63 65 20 7c 20 | 53 74 72 69 6e 67 20 28 |rence | |String (|
|00006320| 37 20 6f 66 20 31 35 29 | 20 7c 20 4c 45 4e 47 54 |7 of 15)| | LENGT|
|00006330| 48 22 0a 40 54 4f 43 20 | 53 54 52 4c 49 53 54 0a |H".@TOC |STRLIST.|
|00006340| 4c 45 4e 47 54 48 28 3c | 73 74 72 69 6e 67 3e 29 |LENGTH(<|string>)|
|00006350| 0a 20 20 20 20 20 20 72 | 65 74 75 72 6e 73 20 61 |. r|eturns a|
|00006360| 20 6e 75 6d 62 65 72 0a | 0a 54 68 65 20 72 65 73 | number.|.The res|
|00006370| 75 6c 74 20 69 73 20 74 | 68 65 20 6e 75 6d 62 65 |ult is t|he numbe|
|00006380| 72 20 6f 66 20 63 68 61 | 72 61 63 74 65 72 73 20 |r of cha|racters |
|00006390| 69 6e 20 3c 73 74 72 69 | 6e 67 3e 2e 0a 0a 20 20 |in <stri|ng>... |
|000063a0| 20 45 78 61 6d 70 6c 65 | 3a 0a 20 20 20 20 20 20 | Example|:. |
|000063b0| 20 20 20 73 61 79 20 6c | 65 6e 67 74 68 28 27 6e | say l|ength('n|
|000063c0| 65 76 65 72 20 74 6f 20 | 73 74 6f 70 20 73 61 79 |ever to |stop say|
|000063d0| 69 6e 67 27 29 3b 20 20 | 20 20 20 20 3e 3e 3e 20 |ing'); | >>> |
|000063e0| 32 30 0a 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |20.. | |
|000063f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.